• 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

Here you go.:cool:

If you want to close all orders before High Impact news, then set like below
View attachment 87430

You can also check here in journal.

View attachment 87431

I did not compile news filter FFCAL indicator into the EA, because maybe in the future, FFCAL webiste will be changed again, so
please put the attached indicator in your indicator folder. If the FFCAL website was changed again , I don't need to fix the EA, instead I can only revise FFCAL indi file.
It is better.

thank you very much, tanaka san.
 
Mr. Tanaka akiko, do you have an indicator that automatically closes the EA before the red news and automatically turns on after the news?
Please share, thank you for your help.
OK, I coded News filter stop/close EA (stand alone version).
If you already run another EA and you want to stop (pause EA) before High impact new.
You can open any chart and attach this EA.
I will show you how to use .
upload_2019-6-6_11-56-35.png
Please put MAGIC# , as the same as EA's which you already run.
This MAGIC# is used to close orders before impact news, so please use the same magic# which you want to stop before NEWS.

If you want to close all order before impact news, CloseOrder before News=true and all order are closed when news comes.
If you don't want to close orders before NEWS, (just stop/pause EA only), then CloseOrder before News=false.

For example, you run M3c-Timer, and you want to stop EA before High impact news,
then put the same MAGIC# (101),
upload_2019-6-6_12-1-54.png
upload_2019-6-6_12-0-57.png

When the time is 60min before high impact news, EA is INACTIVE and stop trading. (MT4 off)

upload_2019-6-6_12-10-30.png
During high impact news, EA will not open new orders because MT4 is stopped now.
After news end, then MT4 will start again. :cool::ok:
please use attache EA and FFCAL indicator. (You don't have to attach the indi, just copy in your indi folder)
 

Attachments

  • upload_2019-6-6_11-56-35.png
    upload_2019-6-6_11-56-35.png
    10.7 KB · Views: 872
  • upload_2019-6-6_12-0-57.png
    upload_2019-6-6_12-0-57.png
    34.9 KB · Views: 880
  • upload_2019-6-6_12-1-54.png
    upload_2019-6-6_12-1-54.png
    9.9 KB · Views: 871
  • upload_2019-6-6_12-10-30.png
    upload_2019-6-6_12-10-30.png
    4.4 KB · Views: 872
  • EA_Newsfilter_AUTO_CLOSE.ex4
    EA_Newsfilter_AUTO_CLOSE.ex4
    268 KB · Views: 116
  • FFCal_miniJP.ex4
    FFCal_miniJP.ex4
    58.7 KB · Views: 85
Hello Tanaka San, how are you ?

Thank you for the revised version.

Please check attached set file, when I turn on Attack Martingale, it closes orders like SL but but I turn it off, it works well. This error I never had in any EA's previously. Kindly check.
Oh, maybe Pips distance.
upload_2019-6-6_12-41-54.png
30pips
upload_2019-6-6_12-42-13.png

20pips
upload_2019-6-6_12-42-35.png

10pips
upload_2019-6-6_12-43-4.png
 

Attachments

  • upload_2019-6-6_12-41-54.png
    upload_2019-6-6_12-41-54.png
    1.7 KB · Views: 868
  • upload_2019-6-6_12-42-13.png
    upload_2019-6-6_12-42-13.png
    11.9 KB · Views: 870
  • upload_2019-6-6_12-42-35.png
    upload_2019-6-6_12-42-35.png
    10.7 KB · Views: 867
  • upload_2019-6-6_12-43-4.png
    upload_2019-6-6_12-43-4.png
    11.2 KB · Views: 861
I changed code that only attack martin order are modified together. I removed normal order to modify and close together.
Now attack martingale order TP is modified the same price and close together.
By the way I don't see any stoploss if I put sl=0 and Use trailing =false.
View attachment 87409

If you use breakeven =true
View attachment 87408
You will see stoploss even you don't use trailing stop.
View attachment 87407
I changed code that only attack martin order are modified together. I removed normal order to modify and close together.
Now attack martingale order TP is modified the same price and close together.
By the way I don't see any stoploss if I put sl=0 and Use trailing =false.
View attachment 87409

If you use breakeven =true
View attachment 87408
You will see stoploss even you don't use trailing stop.
View attachment 87407

Dear Tanaka,

Is it possible to close order in opposite detection. Thank you for your help all the time.
 
Hi, I coded Copy Trade EA.
upload_2019-6-6_14-39-48.png
This EA will copy orders from another EA (Mother MAGIC#) and place order in another currency chart.
You can use this EA for Hedge order.
For example.
You can run your favorite EA (MAGIC#100) in EURUSD, then you open USDJPY chart and attach this COPY EA.
Please put Mother Magic# (Original source EA) like below.
upload_2019-6-6_14-42-13.png
Then you can select

1. Reverse order
If mother EA place BUY order, then this EA places SELL order. (Reverse)

2. Close & Reverse
If mother EA place BUY order, then this EA close that order immediately and place SELL order (reverse)

3. Normal Order
If mother EA place BUY order, then this EA place the same BUY order,


upload_2019-6-6_14-43-25.png

I also added tp/sl, profit dollar close and basket close.

For example,
upload_2019-6-6_14-49-3.png

I run M3c-time EA (MAGIC#100) in USDJPY chart.
And attach this EA in EURUSD chart and put tp=10. sl=10
Then M3c-time EA placed buy order, after that Mother COPY EA placed sell order with the same signal. (REVERSE)

upload_2019-6-6_14-48-53.png

You can check COPY order detail in the comment.
upload_2019-6-6_14-53-41.png

I think this is used for Hedge strategy. So please test it.:cool::ok:
 

Attachments

  • upload_2019-6-6_14-39-48.png
    upload_2019-6-6_14-39-48.png
    25.2 KB · Views: 845
  • upload_2019-6-6_14-42-13.png
    upload_2019-6-6_14-42-13.png
    5.2 KB · Views: 1,754
  • upload_2019-6-6_14-43-25.png
    upload_2019-6-6_14-43-25.png
    3.9 KB · Views: 840
  • upload_2019-6-6_14-48-53.png
    upload_2019-6-6_14-48-53.png
    3.8 KB · Views: 837
  • upload_2019-6-6_14-49-3.png
    upload_2019-6-6_14-49-3.png
    28.4 KB · Views: 840
  • upload_2019-6-6_14-53-41.png
    upload_2019-6-6_14-53-41.png
    8.5 KB · Views: 834
  • EA_MotherCOPY.ex4
    EA_MotherCOPY.ex4
    159.5 KB · Views: 152
Hi, I coded Copy Trade EA.
View attachment 87488
This EA will copy orders from another EA (Mother MAGIC#) and place order in another currency chart.
You can use this EA for Hedge order.
For example.
You can run your favorite EA (MAGIC#100) in EURUSD, then you open USDJPY chart and attach this COPY EA.
Please put Mother Magic# (Original source EA) like below.
View attachment 87489
Then you can select

1. Reverse order
If mother EA place BUY order, then this EA places SELL order. (Reverse)

2. Close & Reverse
If mother EA place BUY order, then this EA close that order immediately and place SELL order (reverse)

3. Normal Order
If mother EA place BUY order, then this EA place the same BUY order,


View attachment 87490

I also added tp/sl, profit dollar close and basket close.

For example,
View attachment 87492

I run M3c-time EA (MAGIC#100) in USDJPY chart.
And attach this EA in EURUSD chart and put tp=10. sl=10
Then M3c-time EA placed buy order, after that Mother COPY EA placed sell order with the same signal. (REVERSE)

View attachment 87491

You can check COPY order detail in the comment.
View attachment 87493

I think this is used for Hedge strategy. So please test it.:cool::ok:
HAHA!..SUPER!!.. will test right away.. thank you so much..:*
 
Back
Top