REH2001 / Publications
Forum
Warning Expression is always false
Hi, I have an EA that worked just fine with the meta trader 4 platform.. however I just recently updated to build 610 and now the EA does not work... I compiled it with the new Meta Editor and am now getting two warnings .. Both are the following Expression is always false, Not sure why this would
if else conditional operator problem
//top // if(Close[i+Time2]<Open[i+Time1]){ if (V2< Close [i+Time2]){ sObjName= "FXPTlblUpAr2" +i; ObjectCreate (sObjName, OBJ_ARROW , 0 , Time [i+Time1], Low [i+Time1]-ArrowSpacing2*Poin); ObjectSet (sObjName, OBJPROP_ARROWCODE , 241 ); ObjectSet (sObjName, OBJPROP_COLOR , OpenTxtClr2);