Make trades ignore straddles
-
When I trade i dont enter when the market is straddling/dead.
I ratger prefer to trade with the trend or with a retracement.
Is their a noise filter or something i can apply that would make my EA ignore when the market isnt moving in either direction?
-
@luqmaan
Yes you can apply a "time filter" block, or a condition block with the ATR.
The ATR measures the "volaitlity" of the market, the average size of the "X" last bars. Can add the condition that the ATR must be above a certain value relatively to the price of the instrument. -
@seb-0 thank you im new to fxdreema but not new to trading. I understand what you meant by this. i will test this and get back to you if i run into any issues.
should i say something along the lines of if trade (if trade x amount of volitility over x amount of time/bars etc. no trades)
What i mean is if i say if trade, condition, no trade. Would that be how to correctly structure it to "not trade" under the given conditions u just mentioned?
-
@luqmaan
You just need to add this condition above the others conditions which need to be satisfied to open a trade.
If you want to buy when MA5>MA20, then,
Before : If MA5>MA20 -> Buy now
Now : If MA5>MA20 and if ATR>0.002 -> Buy now