Forum

Can't get this function to run.

Hello guys, I was working in an EA for binary option and i've tried to implement a martingale system. But, it doesnt work, i've tried a lot of different ways, and, couldn't get there. Can someone tell me why is this not working? double up[],dw[],up2[],dw2[];

Bollinger Close out/Close in indicator

Hello guys, i was trying to make an indicator to plot an arrow in the chart when there is a high that closes out of the bollinger band , and then a new high, that closes inside the bands. The purpose is for counting test. This is what i got so far, but couldnt get any result. for ( int i=limit; i>=

Problem for draw arrows only in specific times

Hello guys! I'm having some dificulties trying to make an indicator plots its arrow buffers only in specific times. For example, I would like the indicator only draws its arrows from GMT 8:00 AM to 02:00 PM. I tryed doing this, but its not working. extern int starthour = 8 ; extern int endhour =

EA missing some trades, what could be wrong?

Hello guys. I recently seen that the simple EA i've done to open trades when a custom indicator plots an arrow has been missing some trades. I've configured the indicator to give a lot of alerts, exactly for testing the functioning of the EA , and from like 10 signals the indicator gave, the EA

Open trade in the last second, is it possible?

Hello.. I'm having some troubles trying to adjust an EA to open the trade at the last second of the end of the candle once the other conditions are met. I've read about the Seconds() function and all, but wasn't able to perform this task with success. I wonder if this is posible, or i'm losing my

Delete object by "description"

Hi guys, I couldn't find here in the forum or documentation if is it possible to delete an object by getting his description only instead of the the name. The application is to delete that Arrow object created by any EA when a position is opened as soon as it is created. I tought about insert this

Input strings not working in here

Hello guys, i tried this as its specified in the MQL4 Documentation at: docs.mql4.com/basis/variables/inputvariables but it's not showing the commentary in the parameters window as it should.. //--- input parameters input int InpMAPeriod= 13 ; // Smoothing period input int