drawtext(cross(dif,粉进)and 粉进>25 and 粉进>ref(粉进,1),粉进,'★买'),coloryellow;表示- 当满足条件dif上穿粉进and粉进>25and粉进>昨日粉进时,在粉进位置书写文字,画黄色。你所说的“粉进”,是一句输出语句,也就是图中显示的那条洋红色的指标线,“粉进”二字是不能作为文字显示的。
cn1:=hhv(v,5);cn2:=o>c;cn02:=c>o;cn03:=c=o;cn04:=((sum(v,5)/cn1));cn05:=if(cn04>0.3,1,0);cn06:=if(cn2 and cn05,v,0);cn07:=if(cn02 and cn05,v,0);ad:=sum(cn07,3),coloryellow;da:=sum(cn06,3);az:...
均价:=amount/vol/100,coloryellow;ll:=c<ref(c,1) and c/均价<(1-0.03);ll1:=cross(sum(ll,0),0.5);bb1:=sum(ll1,0)*cross(count(c>ref(c,1),barslast(ll1)),0.5);cb1:=const(sum(if(bb1,ref(c,1),draw**),0))...