Forum

Using the CHIKOUSPAN in a EA

Hey there, I wondering if somehow can give me clarity and/or how to use the CHIKOUSPAN in a ea. I using mainly the iIchimoku indicator in a EA I've made. The issue I'm having is when I try using the command of: iIchimoku(NULL, PERIOD_M30, 9, 26, 52, MODE_CHIKOUSPAN, 0) < iIchimoku(NULL, PERIOD_M30

MT4 Tester with indicators from different time frames.

Hi, Kinda stumped on basic question here. Simple though to who knows. In a EA, when you have indicators say one from D1 and a few others in H4 and M30 say as an example. What is the accurate time frame period for the tester to test in? In a case like this, what I have been doing is downloading the

How to add time to a code

Hi, So I have this code<Attached > where I cant get it to stop trading on the specific date, being Friday, at a certain time being 6 am

How to sop a winning trade from reopening again for a bit

Hello, I have a function that opena a trade on signal idicators, but after it closes out of the trade it opens another one up again. I'm wondering how to write a function that would would wait a half hour before it can open another one. Code is if (!ExistPositions()){ if ((Buy1=Buy2)){

How to write a ea command to meet one condition and then the next other before excute

Hi, I'm having trouble writing a command for my EA that has to meet Condtion 1 and then after has to meet Condition 2 before execute, but condition one must be met first. Otherwise keeps looping. Example: The code I was writing: bool Condition 1 bool Condition 2