1)is it possible linking the level of stop loss and/or take profit, trailing stop to an indicator? (the goal is to change them according to the volatility of the market)
2)How would be the code to perform this task?
3)If 1 is possible, which indicator is the best choose? I’ve thinked about something like standard deviation. This indicator should range form 0 to 1. how can I transform an indicator to have it in that range?
If you answer to all questions you will get the nth holy grail ea :-) to test.
2)How would be the code to perform this task?
3)If 1 is possible, which indicator is the best choose? I’ve thinked about something like standard deviation. This indicator should range form 0 to 1. how can I transform an indicator to have it in that range?
If you answer to all questions you will get the nth holy grail ea :-) to test.