获利比例:winner(c)*100,colorcc9966;
stickline(获利比例<=1,0,获利比例,6,1),colorwhite;
stickline(获利比例>=1 and 获利比例<10,0,获利比例,6,1),colorcc9966;
stickline(获利比例>=10 and 获利比例<30,0,获利比例,6,0),coloryellow;
stickline(获利比例>=30 and 获利比例<80,0,获利比例,6,0),colorred;
stickline(获利比例>=80 ,0,获利比例,6,0),COLOR9900FF;
drawicon(获利比例<=1,20,2),colorwhite;
drawicon(获利比例>=95,80,1),colorwhite;
坐标线1:=0;
坐标线2:=20;
坐标线3:=50;
坐标线4:=80;
坐标线5:=100;
龙腾四海:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),colorwhite;
海面:20,COLORGREEN;
海天分界线:50,COLORYELLOW;
天际:80,COLORRED;
{ _大智慧股票指标公式}
stickline(龙腾四海>=95,80,100,4,0),colorgreen;
stickline(龙腾四海=100,95,100,3,0),colorcc3366;
drawtext(龙腾四海=100,95,'100'),colorwhite;