Trade only from 7.45 am untill 18.00 pm
Forums › ProRealTime English forum › ProOrder support › Trade only from 7.45 am untill 18.00 pm
- This topic has 7 replies, 5 voices, and was last updated 8 years ago by GraHal.
-
-
06/03/2016 at 10:05 PM #877906/04/2016 at 12:21 AM #878106/04/2016 at 12:23 AM #878206/04/2016 at 9:57 AM #878606/05/2016 at 1:32 AM #880406/05/2016 at 9:35 AM #8806
Yes I need this too Grizzly, but something like the opposite …
If position is at Loss < – L then don’t close until time T or Loss > 0
Logic being that without above condition you may be closing near the bottom of a short term cycle / wave which may recover somewhat in 1 or 2 hours.
Thanks
GraHal
06/05/2016 at 9:47 AM #8808@grizzly and @GraHal
With POSITIONPERF you can easily test if the actual positions are in profit. If so, make a conditional statement to close the basket or not accordingly to the present time.
06/05/2016 at 10:04 AM #8811Hi Nicolas, thanks
Yes I use Positionperf a lot, it is very very useful.
2 days ago one of my positions closed under a FlatAfter rule with a near £2,500 loss (it was only Demo!) I checked after and it would have recovered a few hours later.
So it was the above that prompted my question after Grizzly asking also.
Its just that I have started using Strategies in French etc and so tweaking existing code (to add Positionperf) is not straightforward (I am english only), but I’ll get there with the help of google translate and learn French also! ha
Cheers
GraHal
-
AuthorPosts