mostafalotfi / Publications
Forum
SymbolIsSynchronized
Hi with the below function ,i can find if a symbl synchronized and updated or not.. is there there any way to synchronized a Symbol if its not synchronized? SymbolIsSynchronized for example on my market watch i have 400 symbols, and till now i only used 5 of them ... so because regularly i use them
Question for IF
Dear friends , i have a question for "if" and it would be great if you help me is it correct to write something like this? if ((A1> 100 && A2< 100 ) || (B1> 100 && B2< 100 ));
MQL5 OBJECTs
Hi after my expert draw HLINES i cannot select and change their properties from chart , but when i press Ctrl+B and then list all , i can change the properties of them... can you please advise why its like this
OBJ Properties
Hi in MQL4 i used ObjectSet for properties of objects , could you please let me know if its fine to use the below ObjectGetInteger ObjectCreate ( 0 , "ML TL" , OBJ_HLINE , 0 , 0 ,TL); ObjectGetInteger ( 0 , "ML TL" , OBJPROP_COLOR ,Orange); ObjectGetInteger ( 0
Index number of candles
Hi could you please let me know how can i find the index number of candles in MQL5 based on a time
void OnChartEvent question
Hi Guys could you please have a look at the below code and let me know what is the problem? this expert supposed to calculate some information when user drop the Rectangle on the chart! it works fine when i put the Rectangle for the first time but when i put another Rectangle, it doesn't work
iOpen
Hello Guys i decided to move from MQL4 to MQL5 , i have a small question how can i have the below example in MQL5? double Body=((iOpen( NULL , PERIOD_W1 ,1)-iClose( NULL , PERIOD_W1 ,1))/ Point ); could you please introduce me a book fro MQL5
GrabWeb Function
Dear Friends Could you please have a look at the below and advise me why its not working in new version of MQL4? //=================================== GrabWeb Functions =======================================
Push Notification - On timer
Hello Guys Could you please advise how can i set to send a notification every 4 hours, or as soon as a new candle comes to the chart
MQL4 Horizontal Object (specific time)
Hello Guys im using the below code to draw horizontal lines ObjectCreate ( "حد بالا" , OBJ_HLINE , 0 , Time [ 0 ], TL_d, 0 , 0 ); ObjectSet ( "حد بالا" , OBJPROP_TIMEFRAMES , OBJ_PERIOD_D1 | OBJ_PERIOD_H1 ); it works fine and it draw line for whole chart, now i want to change it to draw it for