by nasiraee » Thu Feb 22, 2024 8:17 am
Hi guys, I appreciate your works and attitude for helping us,
Can you create an EA based on TMA+CG and this strategy as below:
When Buy Signal appears:
if slope of upper band is "+" then open a position with X risk (eg 1% of account)
Position Size = if SL hits, Loss should be equal X percent of account(,It depends on broker specification for the symbol and includes spread)
SL = as length of signal candle below low of signal candle By signal candle (candle low - ( high - low of the signal candle ))
TP1 = close 40% of position when price crosses the mid line (move SL of the rest to Breakeven)
TP2 = close rest of position when price crosses the upper band
if slope of upper band is "0" or "-" then open a position with Y risk (eg 0.5% of account)
Position Size = if SL hits, Loss should be equal Y percent of account (Same condition as above mentioned)
SL = as length of signal candle below low of signal candle(Same as above mentioned)
TP1 = close 60% of position when price crosses the mid line (move SL of the rest to Breakeven)
TP2 = close rest of position when price crosses the upper band.
*********************************************************************************************************************
When Sell Signal appears:
if slope of lower band is "-" then open a position with X risk (eg 1% of account)
Position Size = if SL hits, Loss should be equal X percent of account
SL = as length of signal candle upper high of signal candle (candle high - ( high - low of the signal candle ))
TP1 = close 40% of position when price crosses the mid line (move SL of the rest to Breakeven)
TP2 = close rest of position when price crosses the lower band
if slope of upper band is "0" or "+" then open a position with Y risk (eg 0.5% of account)
Position Size = if SL hits, Loss should be equal Y percent of account
SL = as length of signal candle upper high of signal candle (as above)
TP1 = close 60% of position when price crosses the mid line (move SL of the rest to Breakeven)
TP2 = close rest of position when price crosses the lower band
*********************************************************************************************************************
Risk and Position Managing
Daily Stop loss is Z% (eg 5%)
if acccount drawdown (based on new day initial balance) is 2*Z % then stop the strategy for that day.
Maximum open position at the same time is U (eg 3 open positions at the same time which normally should be same side positions)