EA as described below...

MQL4 专家 外汇

工作已完成

执行时间16 天

指定

Expert Advisor MT4


Trading Strategy:


  1. I draw a Horizontal or trendline in the US-Dollar Index Chart

  2. I will draw different line`s in the chart. Not only one.

  3. After touch the line the EA should looking what is the weakest / strongest currency

and open the trade.


If the the price touch the Trendline (Horizontal Line, Channel) from „above“


In this case the line is a „support“ in Dollar index !

The EA should trade against the weakest currency.


If JPY the weakest, then USDJPY ----- long

If EUR the weakest, then EURUSD ------ short

If GBP the weakest, then GBPUSD ------ short

If CAD the weakest, then USDCAD ----- long

If CHF the weakest, then USDCHF ------ long

If AUD the weakest, then AUDUSD ------ short

If NZD the weakest, then NZDUSD ----- short



If the the price touch the Trendline (Horizontal Line, Channel) from „below“


In this case the line is a „resistance“ in Dollar index !

The EA should trade against the strongest currency.


If JPY the strongest, then USDJPY ----- short

If EUR the strongest, then EURUSD ------ long

If GBP the strongest, then GBPUSD ------ long

If CAD the strongest, then USDCAD ----- short

If CHF the strongest, then USDCHF ------ short

If AUD the strongest, then AUDUSD ------ long

If NZD the strongest, then NZDUSD ----- long


example for calculate what is the strongest currency: (look the pic)


JPY value: H4=80 + D1=69 + W1=85 + MN1=85 = 319 ( 319 is the strongest value !)


I have an example for a Currency strenght meter. Look the pic.

Can send the indicator.


The EA should open the trade in depending on the settings. Risk TP-ratio and so on...


If the price thouch the line (which i draw) from below the EA open sell trade. If touch from above, he open a buy trade.



Settings:


Magic-Nr: 12345

Max Slippage in Points: 20

Max Spread in Points: 12


TP/SL-Ratio: 1,5 ( if SL is 50pip then the TP should be 75pip )


Risk in % Balance: 0,5


ADR-Range from Trading Currency: 10 ( means ADR 10) ADR = Average Daily Range (NOT ATR !

SL in % from ADR value: 50 ( 50 means 50% from the ADR Range-value)



The workflow of the EA is as follow:


  1. price touch the line in the US ollar Index chart

  2. The EA calculate what is the stongest/weakest curreny (sell or buy trade)

  3. What is the SL in dependent of ADR range

  4. lotsize in dependent of SL

  5. TP in dependent of TP/SL ratio



The code from the Currency strenght Meter (Bid Quot Ratio) i can send.




附加的文件:

反馈

1
开发者 1
等级
(6)
项目
6
17%
仲裁
1
0% / 0%
逾期
0
工作中
2
开发者 2
等级
(312)
项目
521
47%
仲裁
29
10% / 45%
逾期
139
27%
工作中

项目信息

预算
30 - 120 USD
截止日期
 2  5 天