PureBytes Links
Trading Reference Links
|
Hello,Harold
> What do you mean, "you must convert it to one bar peak"? What part
> of the buycondition formula below is there to convert it to a one
> bar peak and what part is just the buycondition formula?
the buy signal must take only one peak, this is OK if you take the
cross function, but if you write a buy condition like C>ma(c,20) and
mfi(14)>50, you must convert it to one buy peak, the day of the
buyprice
example
buy=C>ma(c,20) and mfi(14)>50 and adx(14)>20 ;
buy=hold(buy==0,2) and buy;
|