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

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



PureBytes Links

Trading Reference Links

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

<*> 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/