- Credits
- 11
I don't know, because you use risk percent?Mr Tanaka why EA-MACD-histogram-revB work this form with 1 martingale position?
see my set.
View attachment 88541
I don't know, because you use risk percent?Mr Tanaka why EA-MACD-histogram-revB work this form with 1 martingale position?
see my set.
View attachment 88541
Hi mr tanaka this is a system that i bought in 2015 and untill now it is very profitable
The rules is when
FL24-Entry is buy
FL23-Exit is buy
TMA CG is buy (price reached to the blue line above or below
Filter FL-23 Exit period 17 is buy in H1 and H4 i also take the daily
Then open a buy at timeframe 15 min for all currency pairs
Exit when FL-23 change direction to sell in the 15 min time frame
It takes too much time for me to find signals for all currencies

Here it is.Hi. Its been a long time guys and its good to see the thread is still alive and kicking.
Hello Mr Tanaka good to see your still coding. My last EA didn't work very well I tried many variations but not working.
Anyway I have a nice simple idea I want to test.
I see it on youtube and it seems to be working quite well so I wondered if an EA would work just as well.
Its called MACD Martingale.
how it works?
Its a normal MACD indicator. I would make a BUY when Histogram closes above yellow line and a SELL when histogram closes below magenta line. When trade will automatically set TP 10pips and SL 10pips. This is set as a martingale, so if SL is hit then another trade is made (when buy or sell condition is met) will be double the lot size of the previous loss trade. Then when TP is hit then start back to lowest lot size set. (See Picture for illustration).
Note: Only one trade open at a time
Variables I would Like are
Lot size - I want to be able to set the lot sizes of each trade (8 lines deep). Also if I entered 5 lines then I would want the ea to trade from the beginning again disregarding all the previous losses.
TP & SL - I want to be able to set TP and SL manually with both on different lines so if I wanted I could set TP to 20pips while SL is set to 10pips for example.
Trading hours - I want to be able to set the trading hours. And also to be able to turn on (True) or off (False)
Trailing Stop - I want an option to have a trailing stop
Yellow & Magenta Lines - I want to be able to set the numbers manually
BONUS
Currency Pairs To Trade - It would be a bonus if I can set the currency pairs I can trade. So that I can just add EA to one pair but will trade on all pairs I enter into the EA (15 lines deep).
Time Frame - If "currency pairs to trade" is coded in then I think I TF may also be needed.
If this can be done it would be wonderfulView attachment 88215
Why not replace the all repainting indicators with NON repainting indicators?
The big advantage is we look on the chart and we get a feeling how the strategy could be created!
What we need:
- A band that replaces the mladen_permanent_repaint channel
- A signal indicator which shows when the price comes from outside the channel inside that the trend is strong enough...
Like this:
(Any1 who is interested to create a folder with 28 set files for M15 is invited to pm me!)
Yes...and I know there is a spelling mistake in the first shoot...
![]()
Mr.Tanak Still not ok .Sorry, I fixed the bug again. Test it.
ilnk http://s4.picofile.com/d/8363329768/3518befa-ee89-47c3-9a57-14925688021b/Forex_Gump.ex4Hello my friend
If it is possible for you
Convert this indicator to EXPERT
Sincerely thank you in advance for your assistance
http://s4.picofile.com/file/8363329768/Forex_Gump.ex4.html
![]()
plg check parameters, green m1,m2,m15 buy orders continue , m1 ,m5,m15,m30 red signal sell orders continue
master can you uderstand plg check now gold
Thanks to Mr. Tanaka, there's something wrong with this EA, and I find it right to open the Trade Point. The error is that 0.1 lotbuy should stop losing when there is a reverse signal. Then open the 0.2 sell. The problem is that 0.1 is not closed at the time of reversal.thanksNew template version.
If order was closed with loss, then next lot size is multiple.
Please select MM= Maringale1
View attachment 88536
Thanks to Mr. Tanaka, there's something wrong with this EA, and I find it right to open the Trade Point. The error is that 0.1 lotbuy should stop losing when there is a reverse signal. Then open the 0.2 sell. The problem is that 0.1 is not closed at the time of reversal.thanksNew template version.
If order was closed with loss, then next lot size is multiple.
Please select MM= Maringale1
View attachment 88536
Here you go.Mr. Tanaka can you make EA with a strategy below:
• Indicator:
- CCI 200
- EMA 10
- EMA 21
- EMA 50
- Pivot level
• When opening a Buy position:
- CCI 200> 0
- EMA 10> EMA 21 and 50
• When opening a Sell position:
- CCI 200 <0
- EMA 10 <EMA 21 and 50
• When Exit:
- Take Profit: Pivot level or after EMA 10 and EMA 21 cross each other in the opposite direction.
Stop Loss: 12-15 points

Opposite signal=TRUE.Thanks to Mr. Tanaka, there's something wrong with this EA, and I find it right to open the Trade Point. The error is that 0.1 lotbuy should stop losing when there is a reverse signal. Then open the 0.2 sell. The problem is that 0.1 is not closed at the time of reversal.thanks
Sorry I don't understand what you mean.Mr.Tanak Still not ok .
now no error now when any child ticket profit= 0.10 Mothercoy(revB2) CLOSE all child orders with one order from Mother expert
I think the error number child ticket
do think child need like Mother ticket 100 with child 1 and Mother ticket 101 with child 2
I dont know see the pic
YES sir I do but not close you can see the pic . last Mothercoy(revB2) not closeSorry I don't understand what you mean.
If you use basket close in Mother EA, please make it FALSE.
You try to use basket close in COPY EA only.
Child# is any number OK, but don't forget to put child# in your COPY EA.
Are there any arrows in this indi?plg check parameters, green m1,m2,m15 buy orders continue , m1 ,m5,m15,m30 red signal sell orders continue
because total profit is not reached 0.1$?Mr.Tanak Still not ok .
now no error now when any child ticket profit= 0.10 Mothercoy(revB2) CLOSE all child orders with one order from Mother expert
I think the error number child ticket
do think child need like Mother ticket 100 with child 1 and Mother ticket 101 with child 2
I dont know see the pic
My Dear i wont close separately (tow charts ) = 0.10Hi, now I know what you mean and what you want.
See below
View attachment 88495
Originally, basket profit is made to close all orders in your account.
That means you have total -0.47$ now, so it is still open (not closed)
If you want to close separately, -0.4 + 0.54 = +0.5$, I need to change code.