[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: 0 or NULL is not the SAME VALUE


  • Date: Sun, 17 Jan 2010 01:15:31 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: 0 or NULL is not the SAME VALUE

PureBytes Links

Trading Reference Links

If you need to treat them the same, use NZ();
http://www.amibroker.com/guide/afl/afl_view.php?id=212

Mike

--- In amibroker@xxxxxxxxxxxxxxx, Yves <yltech@xxx> wrote:
>
> In Informatic 0 or NULL supposed have the same value.
> With Amibroker is not true
> 
> In the formula Below
> on the line 9 and 14 
> If I'm use a 0(zero), I'm obtain a graphe who have a PBC on 50% of the
> screen
> If I'm use a NULL, I'm obtain a graphe who have a PBC on 100% of the screen
> 
> Made attention to that when you write a formula
> 
> YLTech
> 
> 
> ------------------------------------
> _SECTION_BEGIN("BUG on 0 or NULL");
> SetChartOptions(0,chartShowArrows|chartShowDates);
> _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g
>  Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
> Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
> ParamStyle("Style") | GetPriceStyle() ); 
> Haut= IIf(Interval()==3600, Ref(HHV(C,20),-1),
> IIf(Interval()==1800, Ref(HHV(C,40),-1),
> IIf(Interval()==900, Ref(HHV(C,80),-1), 
> 0 /* 0 or Null NOT THE SAME FOR THE GRAPHE */ ))) ; 
> Bas= IIf(Interval()==3600, Ref(LLV(C,10),-1),
> IIf(Interval()==1800, Ref(LLV(C,20),-1),
> IIf(Interval()==900, Ref(LLV(C,40),-1),
> 0 /* 0 or Null NOT THE SAME FOR THE GRAPHE */ ))) ; 
> Plot(Haut,"HautP",colorBlue,styleLine);
> Plot(Bas,"BasP",colorRed,styleLine);
> _SECTION_END();
> ------------------------------------
>  
> 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.
>  
> yltech@xxx
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/