Forum

Discrepancy between year to date ROI and sum of monthly ROI

On this signal -<Deleted> We see monthly gains of 1.36, 45.08, 78.03, 12.48 which adds up to 136.95. Why does the year-to-date column say 194.49%

I paid for a product and it is no longer available in the market

I am supposed to have 8 more installs of this product: <Deleted> but it is gone from the market place

how to make sure not to renew a rented product

I am currently renting the following product but do NOT want to renew it. How do I make sure it does not auto-renew

How to make sure product purchase does not renew?

I do not want to renew my MQL5.com indicator's 1-year rental. How do I ensure that I am not charged for this again

Point, revisited

In this earlier thread we were told that a point was 1/10th of a pip. However, in the MQL4 book , we read: It can be easily seen that, in this case, the broker offers a spread of 2 points. However, I would say that this is a 4-digit broker where the spread is 2 pips or 20 points (not 2 as the text

Dot in variable name

In this MQL4 source code , we see dots in variable names, e.g.: extern bool ShutDown.NOW=False; However, when I compile the code, the compiler expects a semicolon where there is a dot above. A similar question has been asked and the replies made it seem that a dot could be part of a variable

Right-justify label at Time[0]

Hello, in the working source code below, on lines 74 we see: ObjectCreate ( "H4_SMA" , OBJ_LABEL , 0 , Time[ 1 ], H4_SMA); ObjectSetText( "H4_SMA" , "H4 SMA" , 14 , "Tahoma" ,Gold); I would like to modify these lines such that the label is right-justified and all the way to the right on the

Rendering text at the computed SMA value, specific to the chart EA is on

For some reason, the labels "H4 SMA" and "H1 SMA" are not being rendered on the y-axis where the H1 SMA has been calculated. Instead, they are always rendered at the exact same place on every chart that I put this EA on. How can I get the labels to render at the computed value of the SMA? Source

drawLine docs?

Could someone link me to the docs for drawLine()? I have searched both this site and google and can find no docs. Thank you

Isnt an explicit call to MarketInfo("EURUSD",MODE_DIGITS); pointless?

I was looking through the code for an EA and saw this line: int digits=MarketInfo( "EURUSD" ,MODE_DIGITS); I researched this and found out there is a predefined variable 'Digits' that already has this. So isnt this line of code pointless