Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
As the title says I am looking for an RSI Based / Multi Time Frame / Martingale/ Expert Advisor / Indicator.
This EA should have 2 modes: Trade or Draw mode. If Trade mode is set the EA should work like a normal trading robot. If Draw mode is set, the EA should only draw the lines on the chart representing entry, exit and stop prices for all positions.
EA should run on any timeframe but behave the same.
Basically, its a simple martingale EA but here the martingale logic is not based on a fixed pip movement in opposite direction, instead of that, it should check each timeframe for RSI value (Oversold or bought) to martingale the positions.
If Price Action is going DOWN:
M1 (OverSold) --> M5 (OverSold) --> M15 (OverSold) --> M30 (OverSold) --> H1 (OverSold) --> H4 (OverSold) --> D1 (OverSold) --> W1 (OverSold) --> MN (OverSold) ----> STOPLOSS
0.01(BUY) --> 0.02(BUY) --> 0.02(BUY) --> 0.03(BUY) --> 0.05(BUY) --> 0.07(BUY) --> 0.1(BUY) --> 0.14(BUY) --> 0.2(BUY)
If Price Action is going UP:
M1 (OverBought) --> M5 (OverBought) --> M15 (OverBought) --> M30 (OverBought) --> H1 (OverBought) --> H4 (OverBought) --> D1 (OverBought) --> W1 (OverBought) --> MN (OverBought) ----> STOPLOSS
0.01(SELL) --> 0.02(SELL) --> 0.02(SELL) --> 0.03(SELL) --> 0.05(SELL) --> 0.07(SELL) --> 0.1(SELL) --> 0.14(SELL) --> 0.2(SELL)
The first trade open condition is configurable. That is, if I say starting time frame as M5, the EA should wait for M5 RSI to oversold or bought before opening very first trade and thereafter it should check for next higher timeframe M15 to martingale positions.
When there is overall profit exit all trades.
No duplicate trades should be there. Lets say, M5 RSI has triggered a trade and is running. Before M15 RSI could trigger a trade, M5 RSI has again hit, in this case no duplicate trade should be opened. That is 1 time frame RSI condition = 1 trade always.
There should be an overall stoploss input which can be used to exit all trades if it goes too much opposite after last postion , say W1 or MN RSI condition.
If trade mode is "Draw" all the above scenarios should be visible on chart as lines with labels to say if its an entry or profit or stop level...
Any question please ask.