Friend, I am a 100% newbie .. this strategy is for DERIV.COM, there are fixed spreads and you can try to create the robot and make a profit, the market is 24/7, there are no commissions per operation and there are super volatile pairs .. .
I explain you with a fictitious price to clear doubts.
If the price is at 10.0
From draw a line to certain points of the price. 2 points of the price one line above and another line below ...
Line in 8
Line at 12
If the Bid price rises 1 point to 13, I will execute a Buy, but if there is a retracement and the Ask price falls to 11, the Buy will close and execute a sell, and if the Bid price rises again to 13, the sell will close. If the Ask price goes down to 11, the Buy will close and execute a sell .. so on ..
The line that was not touched by the price will be erased and only the one that was touched by the price will remain working.
If the Ask price drops one point to 7 it will execute a sell but if there is a retracement and the Bid price rises to 9 it will close the sell and execute a buy, and if it falls again and the Ask price falls to 7 it closes the Buy and I will have sell, if the Bid price rises to 9, I will close the sell and execute a Buy .. so on ..
The line that was not touched by the price will be erased and only the one that was touched by the price will remain working.
The main thing is that you can control the takeprofit and stoploss in the robot panel ... And any other default settings that you put in it ... This robot can be very good for the deriv market ...
Deliver the code in mql4 and mql5 free sir .....
I thank you, I have looked for a profitable system and I have never succeeded ...
You are free to add any new ideas to the project ...)))