N:=3;M:=30;
B:=100*PWINNER(3,CLOSE);
A:=HHV(B,5);
AB:=COST(A);
浮动成本:MA(AB,N),colorFFFFFF;
D:=100*PPART(M);
E:=HHV(D,5);
锁定成本:COST(E),colorFFFF;
AA:=HHV(HIGH,50000);
BB:=LLV(LOW,250);
SS:=AA-BB;
STICKLINE(CLOSE>0,SS*0.191+BB,SS*0.191+BB,10,0),colorFF0000;
STICKLINE(CLOSE>0,SS*0.382+BB,SS*0.382+BB,10,0),colorFFFF66;
STICKLINE(CLOSE>0,SS*0.5+BB,SS*0.5+BB,10,0),colorFF00FF;
STICKLINE(CLOSE>0,SS*0.618+BB,SS*0.618+BB,10,0),colorFF00;
STICKLINE(CLOSE>0,SS*0.809+BB,SS*0.809+BB,10,0),colorFF9900;
{-股票公式网站 www.GupAng.com}
STICKLINE(CLOSE>0,BB,BB,10,0),colorFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,SS*0.191+BB,'19.1%'),colorFFFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,SS*0.382+BB,'38.2%'),colorFFFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,SS*0.618+BB,'61.8%'),colorFFFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,SS*0.5+BB,'50%'),colorFFFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,SS*0.809+BB,'80.9%'),colorFFFF;
DRAWTEXT(CLOSE>0 AND ISLASTBAR=1,BB,'0'),colorFFFF;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorAAAAAA;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorBBBBBB;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.1,0),colorDDDDDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0),color6666CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color7777DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),color8888EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1,0),color9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),color1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5,0),color1199FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5,0),colorCCCCCC;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!