• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA LOW DD EA

there's no such thing as a good strategy martingale, all you need is a strong trend and your account will simply burn up, the right logic is to have fixed stop losses, take profits and a good risk reward, anyone who tries to trade without a stop loss will desequillibrate the risk reward and won't be able to control the drawdown, that's gambling!
I love people like you.
How do you know whether I won or not?
No one can win with the platitudes everyone says
If you do not have strong patience and strong nerves, do not get into this business. martingale brings profit with the right time and right strategy
Also, this forum is not a place to give advice about robots. If you want, you can use them. If you don't, you can not use them.
 
there's no such thing as a good strategy martingale, all you need is a strong trend and your account will simply burn up, the right logic is to have fixed stop losses, take profits and a good risk reward, anyone who tries to trade without a stop loss will desequillibrate the risk reward and won't be able to control the drawdown, that's gambling!
I'd agree. I've tried so many Martingales largely because they bring in profits quickly. However we will all end up loosing it all in a 'low volatility strong trend' phase. It's the same a gambling. It is better to eat the small losses (SL) but at the same time avoid trading in a sideways market. What we need is some kind of Channel (to avoid sideways while price is within it) and capitalize on breakouts (from such a channel) with momentum. I found this indicator (mq4 attached), however it repaints continuously. If Tanaka-san et al can prevent it from repainting and convert to an EA, I think we have our long awaited answer. Anyone else have a better NRP Channel breakout solution please share.
 

Attachments

Your MT4 must now be on Build 1420. I will have to search for the version that can work on 1420. Meanwhile, let's all try to look for the same indicator that works on 1420.
 
Great Tanaka, I respect your expertise and your spirit of helping traders here through your work.
Please make EA with THE ATTACHED INDICATOR.

EA will open Buy and Sell trades Strictly according to the attached 2M 23 INDICATOR signals.

Auto TP 1 means that EA will close Buy or Sell position if any subsequent candle price closes above or below open price of the current position.

Auto TP 2 means the total pips of the candle body that gave the signal becomes TP (EXCUDING WICKS).
So if the candle body that produced the Buy or Sell arrow is 20 pips, then the TP becomes 20 pips.

Auto Stop Lose means that EA will use the price on the Buy or Sell arrow signal as Stop Lose.




INPUT:

Lot Size: 0.01

Auto Take Profit 1: True

Auto Take Profit 2: True

Auto Stop Lose: True

Opposite Signal close: True

Trail: 10

Only Buy: True

Only Sell: True

Magic: 123

Comment: USD

Start Time: 01:00

End Time: 23:00
 

Attachments

It is obvious that FL11 repaints.
Waste of time with these indicators.


Mr Philippe can you help me convert the following EA verser versa:- BUY=SELL and SELL=BUY. Unfortunately I do not have Mql4 for the EA, if you can make it possible please assist.. That is the behaviour of the EA on a Photo attached
 

Attachments

Last edited:
Mr Philippe can you help me convert the following EA verser versa:- BUY=SELL and SELL=BUY. Unfortunately I do not have Mql4 for the EA, if you can make it possible please assist.. That is the behaviour of the EA on a Photo attached
Sorry, you must ask to M Tanaka.
 
This is the behaviour of the
Mr Philippe can you help me convert the following EA verser versa:- BUY=SELL and SELL=BUY. Unfortunately I do not have Mql4 for the EA, if you can make it possible please assist.. That is the behaviour of the EA on a Photo attached


MR.TANAKA Would you please help on this crisis?????¡¡
 
// Moving Averages
shortMA = ta.sma(close, 20)
longMA = ta.sma(close, 50)
// RSI
rsi = ta.rsi(close, 14)
// Outside Bar Logic (reversed)
isOutsideBar = high > high[1] and low < low[1]
if (isOutsideBar)
if (close < open and close < shortMA and shortMA < longMA and rsi > 70)
strategy.entry("OutBarLE", strategy.long, qty=1, comment="OutBarLE") // Enter Long when original would enter Short
if (close > open and close > shortMA and shortMA > longMA and rsi < 30)
strategy.entry("OutBarSE", strategy.short, qty=1, comment="OutBarSE") // Enter Short when original would enter Long
// Calculate Stop Loss and Target Profit for Long Positions
longStopLoss = strategy.position_avg_price * (1 - stopLossPercent)
longTargetProfit = strategy.position_avg_price * (1 + targetProfitPercent)
// Calculate Stop Loss and Target Profit for Short Positions
shortStopLoss = strategy.position_avg_price * (1 + stopLossPercent)
shortTargetProfit = strategy.position_avg_price * (1 - targetProfitPercent)
// Exit Conditions for Long Positions
if (strategy.position_size > 0) // Long position
strategy.exit("Take Profit/Stop Loss", "OutBarLE", stop=longStopLoss, limit=longTargetProfit)
// Exit Conditions for Short Positions
if (strategy.position_size < 0) // Short position
strategy.exit("Take Profit/Stop Loss", "OutBarSE", stop=shortStopLoss, limit=shortTargetProfit)
```
### Explanation of the Strategy and Indicators
1. **Opposite Entry Conditions**:
- The strategy reverses the entry conditions. It enters long positions when the price closes lower than it opened and vice versa. Additionally, it checks if the short-term moving average is below the long-term moving average for long entries and above for short entries.
2. **Indicators**:
- **Moving Averages (MA)**:
- A 20-period and a 50-period simple moving average are used to confirm the trend direction. Long entries are confirmed if the short MA is below the long MA, and short entries are confirmed if the short MA is above the long MA.
- **Relative Strength Index (RSI)**:
- An RSI with a 14-period setting is used. Long entries are confirmed if the RSI is below 30 (indicating oversold conditions), and short entries are confirmed if the RSI is above 70 (indicating overbought condition)

Mr.Tanaka can help create an EA using the above strategy please????!!
 
// Moving Averages
shortMA = ta.sma(close, 20)
longMA = ta.sma(close, 50)
// RSI
rsi = ta.rsi(close, 14)
// Outside Bar Logic (reversed)
isOutsideBar = high > high[1] and low < low[1]
if (isOutsideBar)
if (close < open and close < shortMA and shortMA < longMA and rsi > 70)
strategy.entry("OutBarLE", strategy.long, qty=1, comment="OutBarLE") // Enter Long when original would enter Short
if (close > open and close > shortMA and shortMA > longMA and rsi < 30)
strategy.entry("OutBarSE", strategy.short, qty=1, comment="OutBarSE") // Enter Short when original would enter Long
// Calculate Stop Loss and Target Profit for Long Positions
longStopLoss = strategy.position_avg_price * (1 - stopLossPercent)
longTargetProfit = strategy.position_avg_price * (1 + targetProfitPercent)
// Calculate Stop Loss and Target Profit for Short Positions
shortStopLoss = strategy.position_avg_price * (1 + stopLossPercent)
shortTargetProfit = strategy.position_avg_price * (1 - targetProfitPercent)
// Exit Conditions for Long Positions
if (strategy.position_size > 0) // Long position
strategy.exit("Take Profit/Stop Loss", "OutBarLE", stop=longStopLoss, limit=longTargetProfit)
// Exit Conditions for Short Positions
if (strategy.position_size < 0) // Short position
strategy.exit("Take Profit/Stop Loss", "OutBarSE", stop=shortStopLoss, limit=shortTargetProfit)
```
### Explanation of the Strategy and Indicators
1. **Opposite Entry Conditions**:
- The strategy reverses the entry conditions. It enters long positions when the price closes lower than it opened and vice versa. Additionally, it checks if the short-term moving average is below the long-term moving average for long entries and above for short entries.
2. **Indicators**:
- **Moving Averages (MA)**:
- A 20-period and a 50-period simple moving average are used to confirm the trend direction. Long entries are confirmed if the short MA is below the long MA, and short entries are confirmed if the short MA is above the long MA.
- **Relative Strength Index (RSI)**:
- An RSI with a 14-period setting is used. Long entries are confirmed if the RSI is below 30 (indicating oversold conditions), and short entries are confirmed if the RSI is above 70 (indicating overbought condition)

Mr.Tanaka can help create an EA using the above strategy please????!!


I am testing but there is no entry with this condition.
If I remove RSI logic, it has entry..
What is TF and pair with your test ?
 
Back
Top