The formula below(in AB) give to me exactly what I would
When I'm use Metastock, I'm add this formula to the formula below
If(C>HautP AND C>BasP,5, If(C<BasP,0,PREV))
But I can't translate It in AmiBroker
--------------------------------------
_SECTION_BEGIN("CrH-L Prec");
SetChartOptions(0,chartShowArrows|chartShowDates);
/* Ajoute la date et quadrillage */
HautP= Ref(HHV(C,5),-1) ;
BasP= Ref(LLV(C,5),-1) ;
Plot( Close, "Price", colorBlack, styleCandle );
Plot(HautP,"",colorBlue,styleThick);
Plot(BasP,"",colorCustom12,styleThick);
_SECTION_END();
-------------------------------------------
Thank
Merci
YLTech ( Yves L. )
Le présent message et les documents qui y sont joints sont réservés
exclusivement au destinataire indiqué. Il est strictement interdit d'en
utiliser ou d'en divulguer le contenu. Si vous recevez le présent message par
erreur, veuillez le détruire S.V.P. et nous en aviser immédiatement afin que
nous puissions corriger nos dossiers. Merci.
This message and the attached documents may contain privileged or confidential
information that are intended to the addressee only. Any unauthorized
disclosure is strictly prohibited. If you happen to receive this message by
error, please delete it and notify us immediately so that we may correct our
internal records. Thank you.
[email protected]