|
help in programming
Hi i was trying to program an ea, and i followed your course (very intresting!)
I know quite well how to program in java and some c++
I was trying to program an ea with brain trend indicators the idea behind is
when brainTrend2stop and braintrend1stop DOTs are present buy (and viceversa)
but if i call the icustom function like this
BuyValueCurrent = iCustom(NULL,TimeFrame,IndicatorName1,NumBars,0,1) ;
i get only the value of the indicator in the present bar
is there a way to make it boolean? i'd like to write a function like
buy=true
BuyCondition = (IndicatorName1=true && IndicatorName2=true);
can someone help please please please???
|