High or low of current bar?
See file attached. There is a new parameter "SLs". Change it to 0 to make the EA open new orders with no stoploss. Change it to 1 (or anything other than 0) to make it open new orders with stoploss equal to current low-1 point (for buy) or high+1 point (for sell).
Error 130 - will appear when SL is too close to current price. Just wait till price moves away or open without a stoploss
Files:
Thanks a lot for your time and your work. I will test it and will tell you how it works
Hi, can you post the iRosiDiff2 indicator and what Timeframe and settings have you tested?

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
Hi guys,
since quite a long time I am a silent reader of this forum. And I admire your work really. There is no similiar forum which has your quality.
But now I am here to discribe my problem.
I have an EA which was written for me. This EA is based on the AO filter.
But I have a request in the code.
May someone of you could fill in an SL - term. In the moment its just made for Pips... but I would like to have the high (+1pip) or low (-1pip) of this candlestick, what is entering the market.
Could it be possible?
Thanks a lot in advance
Sarah