
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
one line I can't think of - how to catch 15 minutes from the start of the hour on the M1
you can also do this
TimeBar_t = Minute();
you can also do this.
Your version is more elegant and the results are the same
Well then spoilsport - very small MO (0.77) does not scare?
All lied - rushed (You have a lot set up artistically) normal MO=7.43
Congratulations
Still wrote a martin (ilan) under mt5 with dual direction (can trade both ways at the same time)
Here's a test of two pairs at once
Still with glitches - I am fixing them.
Cool!
Your version is more elegant and the results are the same
Well then a spoonful of tar - a very small MO (0.77) does not scare you?
All lied - rushed (You have the lot set up artistically) normal MO=7.43
Congratulations
I should also come up with a clever dynamic calculation of stop loss, any ideas or developments in this direction?
Yes. There is - for example, depending on the value of ATR with the possibility of optimisation... I can lay out a piece of code...
Took it from a branch Avalanche on the recommendation of the Legendary John Katana himself ... :-)
The yen, gold, silver, euro pound pairs have a different dependence on APR, so it is calculated using a different formula (you have to look it up).
The name of the variable here stop-loss is conditional, since this is my variant of a NETTING Avalanche, i.e. there is one order in the market at a time, and it is when the stop is triggered that the position is reversed on increased volumes.
This is how it is implemented in my code:
And how does the average size of a candle on D1 affect the target profit?
Because if the volatility is high on the daily, then you can take more profit. If the volatility is low, then less... Because if you don't take a smaller one now (after optimizing these parameters), then later lots may get even larger when prices turn...
Everything depends on the spread and commission
Let's also look at them and take them into account... Who's stopping us?
Initially - I took the TR calculation from ATR from issue 35 of Fortrader magazine, page 48. 48: