Limit Time Range error

Hi 


In Retester - limiting time range doesn not seem to have an effect.


Thanks

Attachments
time range results.jpg
(122.24 KiB)
time range settings.jpg
(97.16 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

BA
#1

Grandmamoses

20.10.2019 21:57

Task created

h
#2

hankeys

21.10.2019 07:09
if you are building stop strategies, you are limiting only pending orders - so entry to the market could be outside those hours, because pending orders has some expiration value (bars valid)


if you want to have trades only inside those hours, you will need to set bars valid to 1

BA
#3

Grandmamoses

21.10.2019 22:17

Attachment Strategy 11171.sqx added

Noted thanks Hankeys,


I've checked but this strategy doesn't use pending orders. In any case,  the EA should remove pending orders if outside the trading times irrespective of barsvalid?


I've attached a strategy as an example.


Thanks for the help.

h
#4

hankeys

22.10.2019 07:11
its STOP strategy, so its using stop orders, your strategy is one sided, only for SELL side, why? minimul SL only 6 pips on H4? doesnt make sense for me


Open Short order at (HeikenAshiLow(Main chart)[1] - (1.40 * MTATR(Main chart,199)[1])) Stop;
Order valid for 171 bars;

you see, your pending order is valid for 171 bars on H4 timeframe, its 28 days, you are closing on friday, so pedning order will be closed at the latest every friday at 21:00

the ea will not remove pending order outside the limit range, there is not such setting

you can set bars valid in building blocks as min, max 1 - so the pending order will be deleted with every H4 candle
BA
#5

Grandmamoses

22.10.2019 07:25

aah! You've taught me something :-). 


Thanks Hankeys.


Can close this task.

MF
#6

Mark Fric

30.10.2019 19:35

Status changed from New to Refused


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please