Is it possible to write indicator that will have option to enter value for 3 moving averages . I will call them Line 1,Line 2 and Line 3. Moving averages will have to have option to choose simple or exponential method for calculation. In MT5 they are marked as SMA or EMA. (simple moving average and exponential moving average)
---Conditions
---Buy alert- Line 2 is above Line 3. Line 1 is above Line 2. price is above line 1. when fractal forms above price then that is buy alert.
---Sell alert- Line 2 is below Line 3. Line 1 is below Line 2. price is below line 1. when fractal forms below price then that is sell alert.
I hope i explained idea well.
---Conditions
---Buy alert- Line 2 is above Line 3. Line 1 is above Line 2. price is above line 1. when fractal forms above price then that is buy alert.
---Sell alert- Line 2 is below Line 3. Line 1 is below Line 2. price is below line 1. when fractal forms below price then that is sell alert.
I hope i explained idea well.