Forum

How can I draw a vertical line before 50 candles?

hi this code doesn't work. does not take any action. I would appreciate your help. ObjectCreate ( _Symbol , "Dik" , OBJ_VLINE , 0 , TimeCurrent (), 0 ); ObjectSetInteger ( 0 , "Dik" , OBJPROP_TIME , TimeCurrent ()); ObjectSetInteger ( 0 , "Dik" , OBJPROP_WIDTH , 2 ); ObjectMove ( _Symbol , "Dik" , 0

How to get opening and current price information according to position interpretation?

Hi, I have two open positions that say "aaa" and "bbb" in the position commentary . How can I get the opening and current price information of the "aaa" position

How to find the total number of open positions by comment and symbol name?

Hi, I want to get the number of positions with different data in the comment column from different symbols. For example; How many open positions are there in the EURUSD symbol with "MA BUY" in the comment column? There is the code I wrote in the attachment. Where am I making a mistake? I would