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




Reply via email to