Discussion of article "The checks a trading robot must pass before publication in the Market" - page 24
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Explain why the example about stop levels says this:
SL_check=(Bid-SL>stops_level*_Point);and not like this:
SL_check=(Bid-SL>=stops_level*_Point);The help says that stop levels are the minimum distance from price, not distance + 1 pip?
Explain why the example about stop levels says that:
and not like this:
The help says that stop levels are the minimum distance from price, not distance + 1 pip?
The minimum distance from the price at which a stop cannot be placed.
If >=, then we hit the last point of this distance.
Explain why the example about stop levels says that:
and not like this:
The help says that stop levels are the minimum distance from price, not distance + 1 pip?
also, without additional squatting, doubles are not compared for equality :-) i.e. >= is used only if you are sure that equality can be and makes sense.
Bid-SL can be for example 0.001000012 or 0.0009999971 which in both cases is 0.001.
Also, without additional squats, double for equality is not compared :-) i.e. >= is used only when you are absolutely sure that equality can be and makes sense.
Bid-SL can be e.g. 0.001000012 or 0.0009999971, which is 0.001 in both cases.
variables naturally passed through NormalizeDouble
The minimum distance from the price at which you cannot place a stop.
If >=, we hit the last point of this distance.
not hit
.
test on EURUSD,H1 (hedging) strategy tester report 25 total trades test on XAUUSD,D1 (hedging) 2021.04.19 01:05:00 position stop out triggered at 45.86% [#48 sell 0.2 XAUUSD 1712.80 tp: 1710.80] 2021.04.19 01:05:00 position stop out triggered at 45.86% [#50 sell 0.2 XAUUSD 1727.02 tp: 1710.80] stop out occurred on 51% of testing interval strategy tester report 26 total trades
.
I made a separate strategy for those instruments for which the Expert Advisor is not designed. Or you can set a minimum lot for such instruments, regardless of external settings.
I made a separate strategy for those instruments for which the Expert Advisor is not designed. Or you can set a minimum lot for such instruments, regardless of external settings.
I tried it, I put a check on XAUUSD and if it is XAUUSD then do not open trades, but the check failed, it writes that there are no trades :)
I tried, I put a check on XAUUSD and if it is it, then do not open trades, but the check failed, it says that there are no trades :)
I did not suggest not to trade at all, I suggested using a different approach to trading.
In the description, of course, you should inform the user about this nuance..
test on EURUSD,H1 (hedging) strategy tester report 25 total trades test on XAUUSD,D1 (hedging) 2021.04.19 01:05:00 position stop out triggered at 45.86% [#48 sell 0.2 XAUUSD 1712.80 tp: 1710.80] 2021.04.19 01:05:00 position stop out triggered at 45.86% [#50 sell 0.2 XAUUSD 1727.02 tp: 1710.80] stop out occurred on 51% of testing interval strategy tester report 26 total trades