I am building an ea, i want to use either candle low or the Sar low below the candle..
If the Sar indicator value is not there available below the entry candle. The stop loss should be previous candle low.
I already coded for trailing sl as per SAR value but
Finding it difficult to code this ..
Please guide for this to place an stop loss for trade.
Thanku
- Mql5 | How can i call the last indicator signal?
- How to use previous stop loss?
- Coding Entries
If you need help with code, then show the code.
Also show debug prints to Experts log, and Journal log output if necessary.
Fernando Carreiro #:
Just opted for previous swing low as my default stoploss.. that was the best alternative.If you need help with code, then show the code.
Also show debug prints to Experts log, and Journal log output if necessary.
And Sar value as trailing Sl.
No errors or problem now. Solved :)
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