Avarage of indicator signals to place buy/sell
-
Example: I have set up conditionn (buy/sell) of 6 indicators.
Total buy conditions (of 6 indicators) > Total sell conditions : Buy
Total sell conditions > Total buy conditions : SellExample: 4 Buy conditions, 2 Sell conditions, then place Buy trading order.
How can I get EA work like this ?
Thanks.
-
@migen
https://fxdreema.com/shared/BNcQoJLzb
This is how I would do it.. Hope you are comfortable with variables
-
@roar
Thanks for your help, I will try it with my EAs to see how it works
-
@roar
Do you have any ideas to combine Trend Conditions of multiple time-frames for EA to trade.Example: I use 4 Indicators.
Daily time-frame : 3 Buy Signals, 1 Sell Signals
-> Up Trend4 Hour time frame : 4 Buy Signals, 0 Sell Signals
-> Up Trend=> Condition to trade:
Daily (Up Trend) + 4 Hour (Up Trend) -> place Buy order
Daily (Down Trend) + 4 Hour (Down Trend) -> place Sell order
Daily (Up) + 4 Hour (Down) -> NO trade.
Daily (Down) + 4 Hour (Up) -> NO trade. -
@migen
To build on my previous example, I would do it like this:

The 4 conditions now pass twice (for 2 timeframes) so the total "score" for buy and sell can be 8. I also added a block after the buy > sell comparison, where you can define how big the bigger "score" should be.
This doesn't exactly separate between timeframes, but I think it's close enought to your needs and you surely can modify it from there.
https://fxdreema.com/shared/h52NKD4te -
@roar
Thanks for your great help
The problem here is the seperate time frames.
The system I'm using is Trend Following. And it will consider Up or Down Trend of each time frame to make sure the same Up/Down Trend in both 4H & Daily time frames before placing an order.