Работа завершена
Техническое задание
==================================Indicator===============================================
1. I want an indicator that will begin every 00:00 hour (Option to set the hour).
2. it will start plotting alternating arrows (1 by1, 2 by 2 or 3 by 3) depending on what I will choose: that is; one arrow up and the next one down and so on; or two arrows up and the next two down and so on; or three arrow up and the next three arrows down depending on my choice (1,2 or 3). I have attached a picture of 2 by 2 arrows. (Mql4 and Mql5 with source files needed).
===================================EA=========================
3. I need a martingale MQL4_EA, (MQL4 source code is needed). EA should Open buy or sell whenever some certain parameters are met (RSI and Bolinger overbought for sell position, oversold for buy position ). However, I would like to add a feature that makes it to maintain only one direction until it has taken profit. That is, if the condition to buy (oversold) is met, it should place a buy trade. If the buy trade is lost, it should not be able to open a sell trade even if the condition for sell ( overbought )is met, until it has used martingale to make a win in Buy direction. If the buy trade is lost, it should immediately place a BUY trade without waiting for any parameter to be met: it should immediately place a BUY order again (not a SELL trade even if the condition for SELL is met). If the second buy trade is lost again, it should immediately place another buy order again continuously until it wins a trade on buy direction; then it can reset to zero (then, it can now either buy or sell, depending on which signal is generated). And like wise if it is a sell. (It may not be profitable: just let it be workable according to the logic above). Thanks.