Reza nasimi
Reza nasimi
Reza nasimi
Added topic ANCHOR-BOTTOM PROBLEM -Cannot convert enum
Hi  I was searching for the way of creating text object in chart and I find this page : https://docs.mql4.com/constants/objectconstants/enum_anchorpoint it seems to be exactly what I need . in the same page there was an example , I copy it in
Reza nasimi
Added topic Buy and Sell Volumes
Hi I need volume of shorts and longs separatly , like this : how can I get this in MQL
Reza nasimi
Added topic why Inputs tab is not appear for user
hi  I wrote a simple indicator and sent it to my friend , but when he drags it to chart in the first upcoming window he doesn't have inputs tab, also he has the same problem with other MT4s I tried to use it in different MT4s and it works for me
Reza nasimi
Added topic Alert repeats several times
     Hi I want to have an alert when the volume is going upper than the volume of 2 min before. long Prev_Vol= iVolume ( NULL , PERIOD_M1 , 2 );    long This_Vol= iVolume ( NULL , PERIOD_M1 , 0 );
Reza nasimi
Added topic which type is the value returned by iVolume?
Hi  i wrote this: double This_Vol= iVolume ( NULL , PERIOD_M1 , 0 ); and i faced this warning:  " possible loss of data due to type conversion." when I checked the returned value in Comment() I find out it is integer . so why I have this
Reza nasimi
Added topic finding PipValue
Hi  How can I gain the pip value of any currency pair ? its not problem if its with 1 , 0.1 Or 0.01 Lot  is there any prepared code for it in MQL ? Or I should write code to calculate it
Reza nasimi
Added topic is there any easier way to write this:
hi  is there any easier way to write this: if (A == 1 ||A== 2 ||A== 3 ||A== 4 ||A == 5 ) {Do Something;}
Reza nasimi
Added topic " Shift end of the chart from right border" in EA?
hi how to do " Shift end of the chart from right border"  in EA
Reza nasimi
Added topic Wich kind of Type for this function ?
Hi  Some body help me please  to understand if I have a function to directly pass a double parameter to another void function to change StopLoss , which kind of type my first function should have ? Should it be a double function with a
Reza nasimi
Added topic some operator expected
hi I'm new in programming.  can you please help me to find out what's the problem with this part of my EA ? I've  got this Error : 'totallots'- some operator expected  double TotalLots () { double totalots=0; for(int i=0;
Reza nasimi
Registered at MQL5.community
123