Trabalho concluído
Termos de Referência
Trading idea
Place only one position with SL and TP per signal but, if DEMA line cross Supertrend line, add another position in the same direction. Please see YT video minute 3:30
Choice between MT5's iDEMA or https://www.mql5.com/en/code/21234
Setting for TF have to be configurable
Setting for TF have to be configurable
Settings: 15M Timeframe
Name: iATR
Settings: 15M Timeframe, Multiplier = 3
iATR - Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Setting for TF have to be configurable
This indicator is for position management trailing SL
- Price above the DEMA
- Enter on the SuperTrend Buy Signal
- Option to add more position volume if SuperTrend line cross DEMA upwards direction (minute 3:30 on YT video)
- Option Heiken-Ashi Blue Candle
- Option Wait for Candle close to entry
- Price below the DEMA
- Enter on the SuperTrend Sell Signal
- Option to add more position volume if SuperTrend line cross DEMA downwards direction
- Option Heiken-Ashi Red Candle
- Option Wait for Candle close to entry
Function return -1,0,1 (-1 SHORT, 0 NOTHING, 1 LONG)
Lot/Contract Volume fixed ie.: 1 lot or in percentage ie.: 1% and get the right volume based on balance available to trade.
For Shorts: When a SuperTrend long signal appears while in profit or at break-even.
Option: continue Trailing the position every:
- # PIP(s)
- # ATR(s)
- Draw DEMA at its timeframe, in current default chart(15M)
- Draw SuperTrend DOT and Line at its timeframe, in current default chart(15M)
- Push notification for entry confirmation