using specific multiple timeframe for open/close positions
-
thanks again mates for all useful and helpful discussion here
im trying to implement a 15min + 1HR + 4HR timeframe using ichimoku indicator to open a position under certain parameter and i want to do the same concept with other parameter (with multiple timeframe ) to close the same position
could anyone please guide me how to use more than one timeframe for open/close a position
thanks again for all the help and useful discussion
-
@saeed-2 You just need to connect as many condition blocks as different timesframes to be considered for your trade to open. Like this:

-
@l-andorrà thanks for your quick reply and all this help
i appreciate that a lot.
would like to know how to program the EA so it opens only one trade per chart and doesn't open a new one till the existing open one is closed
thanks a lot for your time mate
-
@saeed-2 Do you have an initial project to begin with?
-
@l-andorrà i finished the EA but i don't know where is the problem
i checked your youtube tutorials (helps a lot appreciated ) and i added "if trade" to close the position .. the EA is working but not catching any trades even though the parameter condition is correct
thanks for your time

-
@saeed-2 Can you please share the link instead of just uploading the screnshot?
-
-
@saeed-2 ... but i got stuck at closing the trade .. lets say we have an open sell trade .. the condition to close the trade is " three bullish candles with minimum 2 pips each or more " and the second condition is " bullish candles is (touch) the kijin sen line of ichimoku ..
timeframe for each condition is already specified
again Mr. Landorra thanks a lot for your help and time
one question Mr Landorra .. how can i secure my MQL4 file -
@saeed-2 Sorry, I wanted to say the link showing your project, not your file again. I mean this:

And the only way to secure your mql4 file is not sharing it with anyone, sorry.
-
@l-andorrà shared/Gpxf0k8
-
@saeed-2 Are you sure the link is correct. I cannot open it.
-
@l-andorrà thanks a lot for your kind assistance
i need to update the parameter to achieve a higher accuracy ..
if i want a condition that state for closing a position .... if candle touch the ichimuko line >> open trade will close ?
thanks a lot you are really a big help for me .. appreciated

-
@saeed-2 Your current setting will effectively close any open trade at the exact moment this crossing happens. However, I cannot see if there is any 'once per bar' block on top of that closing tree block. Dependeing if it is or not, the close will happen at the exact moment the crossing happens or at the opening of the next candle.