Hi is it possible to close all trades at the close of each candle, ( Time Frame does not matter ) , Using your CL programing block.. if so could you give me an example .. Thanks If more info is needed let me know.
What I am trying to do is , When I determine the long term trend is say a long trend , I want to only go long... However I do not want it to enter a long trade at the very end of the candle , because this can get you trapped in a Long trade and the market reverses to a Short trend. I want to be able to close all longs at the close of all candles regardless . Then if the trend is still long at the beginning of the next candle , I start trading long again.... The EA only trades in one direction.... hope this helps.
|