Help Needed
-
Hey,
I wanted to find out if anyone knows how to receive a Market Order entry price and then make sure that any future Pending Order is only placed if the Pending Order entry price is above or below the highest or lowest Market Order price.
-
I think I don't fully inderstand the question

-
__I think I don't fully inderstand the question :)[/quote:kc3h127o]
Hey,
Ok lets say that i have the EA trailing a Sell Stop based on the Previous Candle Low, so whenever a new Candle has formed the Sell Stop is readjusted to the new Previous Candle Low.
Now lets presume that the Sell Stop gets activated into a Sell Market Order and i don't want the EA to keep placing a Sell Stop if the Previous Candles Low is now below the Highest Sell Market Orders entry price.
So far i know how to trail the Sell Stop at the Previous Candles Low, but i don't know how to include a condition that it will only place the future Sell Stops if the Previous Candles Low is above the highest Sell Market Order price?
-
I assume that you know how to get Previous Candles Low and you don't know how to get the highest price from a group of trades. Try this: http://prntscr.com/920jx5