Forum

iTime and Strategy Tester

My EA is set to trade only at certain times during the day (not between London close and Asian open), but I cannot get this to work in the strategy tester. I thought I might be able to use iTime , but don't know how to get iTime to return values for "hour." Does anyone know how to get the "hour"

new with code, but stuck

Goal: when two SMA's cross, i then want to check and continue to check for Stochastics to hit a level, then trade. my problem: can only get the code to look at the cross and the Stochastics at the time of the cross. it wont continue to check Stochastics after the cross occurs. so... if stochastics

one line of EA code to check

hi all, i am a newbie at EA programming and eager to become proficient and a contributing member. i've read your posts and am most impressed with the comradery here. was wondering if anyone could tell me what i am doing wrong in this line of code: if (PRICE_OPEN== iBands