Forum

is this correct implementation of iCustom in mql5

I am trying to read the buffer value of an mt5 indicator , which has 4 buffers and 2 input parameters and this is how i am using it in iCustom : iCustom ( NULL , 0 , "LTD by KDMfx" ,inp1,inp2, indbuffer , candshift ); where inp1 and inp2 are the 2 input parameters of the "LTD by KDMfx" indicators

Back test results difference between Every tick model and control point model

I have built a small EA , which works like this , on close of every candle it checks if an indicator is visible on last closed candle , if yes then it takes the trade. So when I run the back test using "Control Point" testing model , backtest results are entirely different from the back test done

Mt4 Strategy tester Cache issues ?

I am not sure whats going on but does mt4 strategy tester cache previous backtests ? because I am seeing something strange in backtesting , I set parameters and run backtest on last 12 years , and it shows net return of let say 200$ , So I slightly change the input settings but it still shows 200$

How to show integer value instead of arrows/graphical objects using a buffer

I know showing the text using the ObjectCreat() function is pretty simple , but I cant seems to figure out a way to show the Integer values using the indicator buffer I have seen some Indicators in the market section, where they show the Profit/Loss pips with alongside each arrow that the indicator

Division issue , is this a bug?

I am doing : double mux = 50 / 100 ; Print ( ".............." ,mux); but its printing 0.0 instead of 0.5 , any idea why its doing that

Restricting the iCustom Call in Indicator ?

is it Possible to make the indicator in such a way that if someone tries to use that indicator within iCustom() function , it doesnt work ? I know its a long shot , But I am just curious

Calculating Pips Based on expected Loss and LotSize ?

if OrderLots() value is known , and the Expected Loss is also known , how can one get the Pips ? For example : Let say my expected Loss is $50 and my LotSize is 0.07, How can I calculate the StopLoss Pips so that in case the StopLoss gets Hit My loss would be $50

Calculate Lot Size To recover Previous Loss (Loss in pips) for a fixed TP pips?

a bit confused about how to calculate the lotsize if I want to recover the lost pips based on a fixed TP? For instance , If my loss is 100 Pips , and I have a fixed TP of 30 pips , now how do I calculate the lot so that if the 30 pips TP is triggered it will recover the lost 100 pips

Requesting for the name of this indicator :

Hi Everyone , Has anyone seen indicator shown in the image below ? If someone has an idea about the name of this indicator I will highly appreciate if you could share the name. Thank you

Need some Advice regarding limiting the server calls from the EA.

Hello All I am seeking some advice from more experienced members of this community Basically I am working on a Socket client EA which connects to a remote Socket server and get some calculated values from the server , after receiving those values I am saving these values into a text file and