Yes that is what I meant! The 20 and 40 SMA's are used to determine potential breakout direction. If the close of the bar closes above the 20 OR the 40 (can be both) then a buy stop should be placed at the highest high of the last 5 bars (counting the setup bar) plus 3 pips plus spread, stop loss is at the lowest low of the last 5 bars minus 3 pips, minus spread.
For sell stops the setup bar must have closed below the 20 or 40 SMA (can be both). Entries the same as the buy stop only reversed.
Rule #1 = determines small hours
Rule #2 = confirms convergance (tightening of price)
Rule #3 = determines potential direction
For sell stops the setup bar must have closed below the 20 or 40 SMA (can be both). Entries the same as the buy stop only reversed.
Rule #1 = determines small hours
Rule #2 = confirms convergance (tightening of price)
Rule #3 = determines potential direction
Dislikedthe EA can place buy/sell stop/limit orders. if you look in the code, you will see i had already placed two sendorder commands for a buystop and a sellstop, but need to adjust tp, and sl first, so right now i commented it out). thats what you mean right?
You are using SMA20 and SM40 also right? Which one should be sufficient to place the stop orders? or does it always have to be above SMA40 and then place buy stop?Ignored