• 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 :)

Suggestion I will make a Free EA with your Indicator

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 wonderful
MACD Martingale.png
 

Attachments

  • MACD Martingale.png
    MACD Martingale.png
    185.5 KB · Views: 958
Hello Tanaka, instead of using RSI, if use RMI it would more perfect. I guess, I have RMI mql file...upload tomorrow... Right now not in front the system.
GGoutham, I still don't understand the logic clearly. About RSI when is buy entry, when is sell entry.
Can you tell me how I can code the EA? I need more clear explanation.
 
Sir can you see the pictures Same Mother Magic and basket profir 0.10 and profit 0.11 But not close please help
Current profit shows 0.1$ but actual profit (total order) is now -0.2$, so it is not closed yet.

upload_2019-6-13_9-47-45.png
 

Attachments

  • upload_2019-6-13_9-47-45.png
    upload_2019-6-13_9-47-45.png
    13.7 KB · Views: 808
Mr.tanaka
After I tested the Mother copy (revA) I find :
1) Basket Profit not working to close two orders on two charts different currency. still close
single orders.
2) when close the orders and any orders come from mother experts / mother copy not copy new order (same issue mother copy & mother copy (rev A).
3) i cant sitting basket Profit below than 0.10 $ .
please you can modified we will send more coffee .
If you want to close MAGIC#101 & MAGIC #1, you need to select Manual input, not Close ALL MAGIC#.
upload_2019-6-13_9-53-49.png
 

Attachments

  • upload_2019-6-13_9-53-49.png
    upload_2019-6-13_9-53-49.png
    13.1 KB · Views: 805
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
 
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
 

Attachments

  • FOTO_20190613_104640.jpg
    FOTO_20190613_104640.jpg
    107.6 KB · Views: 90
  • FOTO_20190613_104532.jpg
    FOTO_20190613_104532.jpg
    129.9 KB · Views: 75
Last edited:
Hello Mr Tanaka, thanks for all your good works. Please this EA, you helped to code, is ;
1. Not opening trades on current candle.
2. Not picking all trade signal
3. Not working on all pairs immediately. Took time to pick up signals on some pairs even when there was signals, it picked up signals immediately on 4 pairs and gradually pick up signals in the remaining pairs. (tested on 8 pairs on 1 minute time frame)
Please help to adjust, thanks in advance.
 

Attachments

Last edited:
Thank you sir for answer but still I have issue when close the basket orders and mother expert open new order the mothercopy rev A not open new order
Hi, by the way, do you use only one account, right?
Copy EA will work only in the same account.
And if you use basket close in mother EA, you don't have to set basket in COPY EA.
Because once all total order profit reach to the target, then mother EA will close all orders including COPY EA's orders.
Basket profit is used to close all open orders not only in the same chart, but all charts (different currency pair) in the "same" account.
So you can try to Use_basketproft_close =FALSE in your mother COPY EA, because you have already use basket profit close in your mother EA.
upload_2019-6-13_12-43-27.png
 

Attachments

  • upload_2019-6-13_12-43-27.png
    upload_2019-6-13_12-43-27.png
    20.2 KB · Views: 779
Last edited:
Dear master plg one request this EA taking martingle3 one side(ex: signal coming buy 0.10 after signal repaint EA is another order taken buy 0.20), this is not correct, martingle 3 is first signal entry only one buy 0.10 then before repaint signal no orders taken that time wait for 2nd signal after signal coming only one sell 0.20 next waiting signal after coming signal buy only one signal 0.30 this type ?????
upload_2019-6-13_9-12-50.png
plg check dont want this type
upload_2019-6-13_9-17-21.png
sir i want this type
upload_2019-6-13_9-22-12.png
 

Attachments

  • upload_2019-6-13_9-12-50.png
    upload_2019-6-13_9-12-50.png
    129.6 KB · Views: 776
  • upload_2019-6-13_9-17-21.png
    upload_2019-6-13_9-17-21.png
    141.6 KB · Views: 776
  • upload_2019-6-13_9-22-12.png
    upload_2019-6-13_9-22-12.png
    139.7 KB · Views: 779
  • EA_RenkoScalp_SMF.ex4
    EA_RenkoScalp_SMF.ex4
    419.8 KB · Views: 75
Maybe you send me other version
I see a problem, please see this picture and fixed
upload_2019-6-11_18-26-5-png.88045
 
Back
Top