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

Re: [amibroker] AFL-Code- Parameter styleThick does not work



PureBytes Links

Trading Reference Links

Hi - styleThick works by increasing the width but not the height, so it can 
be hard to notice the difference if your line is horizontal or almost 
horizontal. There has been code posted in the past that compensates for this 
by plotting 2 overlapping parellel lines, a search should probably turn it 
up.

Steve

----- Original Message ----- 
From: "gerd0206" <gerd0206@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 03, 2008 6:44 AM
Subject: [amibroker] AFL-Code- Parameter styleThick does not work


> Hello,
> thats my first post here. First thanks to all for the usefull forum
> here !
> I created an Indicator which is printing the Pivot- Point line into
> the chart. I work with the Parameter "style", so I can use the
> parameter field for changes. Now I tried to change to Thick, in
> parameter "Thick" is activated, but on chart it is not shown thick.
>
> With Parameter "Dottted" (dotted line) it works.
>
> Here the relevant part of the code:
>
> k=IIf(ParamList("select type","daily|next day")=="daily",-1,0);
> k1=-1;
> TimeFrameSet(inDaily);
> day_h= LastValue(Ref(H,K));
> day_l= LastValue(Ref(L,K));
> day_c= LastValue(Ref(C,K));
> TimeFrameRestore();
>
> DH=Day_h;
> DL=Day_L;
> DC=Day_C;
>
> pd = ( DH+ DL + DC )/3;
>
> Style2 = ParamStyle("Style");
> slide =  Param("slide all",9,-1000,1000,1);
> slide1 = Param("slide_day",9,0,1000,1);
> slide_Hight =  Param("slide_Hight",0,-1000,1000,1);
> SHALD = ParamList("daily Pivots", "selected only|all|hide" );
>
> PDP = ParamList("DP",   "SHOW|HIDE" );
>
> if ((PDP=="SHOW" OR SHALD=="all")  && SHALD!="hide") Plot (pd,"Piv
> ",PivCOLOR,Style2, Null, Null, 10);
>
> Thanks for your support and tipps.
>
> Gerd
>
>
>
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>
> 



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

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

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

For other support material please check also:
http://www.amibroker.com/support.html
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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto: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/