Set spread value from your broker, eg my broker has a spread of 0.0003 for EURUSD. You can set your required profit ratio eg 1.5 means risk 1 to win 1.5. Enter if price crosses orange (or set a buy stop order or sell limit order) and set stoploss at red and take profit at green. Setup lasts for 20 bars. If it doesn't cross the orange in that time, forget it. Long...
I can't be help liable for any losses suffered from the use of this script. Use at your own risk.
To use this indicator. Set pending orders to enter at "Entry", stoploss at "Stop", and profit at "Exit". Close pending order after 10 bars if it doesn't open. Please use this at your own risk. By using this indicator you are agreeing that I am in no way liable for any financial losses that may occur indirectly or directly as a result of using this...