PureBytes Links
Trading Reference Links
|
> CondBull=SAR()<C;//bull
> condbear=SAR()>C;//bear
>
> switch=Flip(Condbull,Condbear);
> price=ValueWhen(Flip(Condbull,Condbear),C);
> DateNumb=ValueWhen(switch,DateNum());
> Filter=1;;
> Buy=0;
> AddColumn(DateNumb,"DateOFflip");
> AddColumn(Condbull,"Bull");
> AddColumn(Condbear,"Bear");
> AddColumn(switch,"switch");
> AddColumn(price,"close");
Thanks you very much Anthony for the quick answer.
Derek
|