Forum

Help on Error Loading 2nd Coding Condition

Hi all, still quite new to MQL here and have already hit a road block. I can't seem to figure out what went wrong here as I am unable to load the condition if(total>1); My objective is to trigger a trade and once a trade is triggered, the system will detect that there is already a trade running and

Help with Entry Criteria

Hi all, I am having some problems entering trades with stochastics crossovers. My aim is to open trade when stochastic crosses at the overbrought (level 80) or oversold (level 20) area. However, I am only able to open trade when it crosses. How do I restrict the trades to be carried out at the over

Help with Entry Criteria

Hi all, I have come up with a way by using "Bars" function. When a trade is triggered, I will set a integer count with the bars function (e.g. a buy trade is triggered in bar 122, hence the count will be 122) and when my criteria has being triggered again, I will call the bar function again and

Please help me with my EA

Hi guys, I am still quite new to all this EA programming. I have done up a trail EA on my own but I keep encountering some errors. My EA would only open 1 trade and after the first trade, it stops opening trade even after the conditions are met. I edited the code abit based on Coders Guru's code