这个也帮我改一下开盘价和收盘价文字部分我已经改完了 [文华财经]
-
咨询内容:
A:BACKSET(ISLASTBAR,10),NODRAW;
前第2天开盘价:REF(O,DAYBARPOS,SUMBARS(DAYBARPOS=1,2)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第2天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第2天开盘价,'第2天开盘价',ALIGN0;
前第2天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,2)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第2天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第2天收盘价,'第2天收盘价',ALIGN0;
前第3天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,3)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第3天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第3天开盘价,'第3天开盘价',ALIGN0;
前第3天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,3)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第3天收盘价,'第3天收盘价',ALIGN0;
前第4天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,4)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第4天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第4天开盘价,'第4天开盘价',ALIGN0;
前第4天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,4)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第4天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第4天收盘价,'第4天收盘价',ALIGN0;
前第5天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,5)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第5天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第5天开盘价,'第5天开盘价',ALIGN0;
前第5天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,5)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第5天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第5天收盘价,'第5天收盘价',ALIGN0;
前第6天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,6)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第6天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第5天开盘价,'第6天开盘价',ALIGN0;
前第6天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,6)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第6天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第6天收盘价,'第6天收盘价',ALIGN0;
前第7天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,7)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第7天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第7天开盘价,'第7天开盘价',ALIGN0;
前第7天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,7)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第7天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第7天收盘价,'第7天收盘价',ALIGN0;
前第8天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,8)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第8天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第8天开盘价,'第8天开盘价',ALIGN0;
前第8天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,8)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第8天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第8天收盘价,'第8天收盘价',ALIGN0;
前第13天开盘价:=REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,13)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第13天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第13天开盘价,'第13天开盘价',ALIGN0;
前第13天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,13)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第13天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第13天收盘价,'第13天收盘价',ALIGN0;
前第21天开盘价:=REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,21)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第21天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第21天开盘价,'第21天开盘价',ALIGN0;
前第21天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,21)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第21天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第21天收盘价,'第21天收盘价',ALIGN0;
前第34天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,34)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第34天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第34天开盘价,'第34天开盘价',ALIGN0;
前第34天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,34)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第34天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第34天收盘价,'第34天收盘价',ALIGN0;
前第55天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,55)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第55天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第55天开盘价,'第55天开盘价',ALIGN0;
前第55天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,55)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第55天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第55天收盘价,'第55天收盘价',ALIGN0;
前第89天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,89)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第89天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第89天开盘价,'第89天开盘价',ALIGN0;
前第89天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,89)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第89天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第89天收盘价,'第89天收盘价',ALIGN0;
前第144天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,144)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第144天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第144天开盘价,'第144天开盘价',ALIGN0;
前第144天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,144)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第144天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第144天收盘价,'第144天收盘价',ALIGN0;
前第233天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,233)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第233天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第233天开盘价,'第233天开盘价',ALIGN0;
前第233天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,233)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第233天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第233天收盘价,'第233天收盘价',ALIGN0;
前第377天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,377)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第377天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第377天开盘价,'第377天开盘价',ALIGN0;
前第377天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,377)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第377天收盘价,'第377天收盘价',ALIGN0;
前第610天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,610)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第610天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第610天开盘价,'第6107天开盘价',ALIGN0;
前第610天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,610)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第610天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第610天收盘价,'第610天收盘价',ALIGN0;
前第987天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,987)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第987天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第987天开盘价,'第987天开盘价',ALIGN0;
前第987天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,987)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第987天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第987天收盘价,'第987天收盘价',ALIGN0;
前第1597天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,1597)),COLORRED,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第1597天开盘价,1000),0,1,2,COLORRED);
DRAWTEXT(ISLASTBAR,前第1597天开盘价,'第1597天开盘价',ALIGN0;
前第1597天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,1597)),COLORGREEN,NODRAW;
DRAWSL(CROSS(A,0.5),REFX1(前第1597天收盘价,1000),0,1,2,COLORGREEN);
DRAWTEXT(ISLASTBAR,前第1597天收盘价,'第1597天收盘价',ALIGN0;PLAYSOUND(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),'';
PLAYSOUND(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),'';
PLAYSOUND(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),'';
PLAYSOUND(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),'';
PLAYSOUND(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),'';
PLAYSOUND(CROSSDOWN(C,前第610天开盘价)||CROSSDOWN(C,前第987天开盘价)||CROSSDOWN(C,前第1597天开盘价),'';DRAWICON(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),H,'CO79';
DRAWICON(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),H,'CO79';
DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),H,'CO79';
DRAWICON(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),L,'CO80';
DRAWICON(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),L,'CO80';
DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),L,'CO80';PLAYSOUND(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),'';
PLAYSOUND(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),'';
PLAYSOUND(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),'';
PLAYSOUND(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),'';
PLAYSOUND(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),'';
PLAYSOUND(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),'';DRAWICON(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),H,'CO79';
DRAWICON(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),H,'CO79';
DRAWICON(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),H,'CO79';
DRAWICON(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),L,'CO80';
DRAWICON(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),L,'CO80';
DRAWICON(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),L,'CO80';来源:程序化99
-
文华技术人员:
具体是需要改什么,看1楼源码目前有语法错误,按照后面语句的逻辑修改了下
还有疑问的话您具体说明需要修改什么?
参考
A:BACKSET(ISLASTBAR,10),NODRAW;
前第2天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,2)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第2天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第2天开盘价,'前第2天开盘价'),ALIGN0;前第2天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,2)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第2天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第2天收盘价,'前第2天收盘价'),ALIGN0;前第3天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,3)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第3天开盘价,'前第3天开盘价'),ALIGN0;前第3天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,3)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第3天收盘价,'前第3天收盘价'),ALIGN0;前第4天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,4)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第4天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第4天开盘价,'前第4天开盘价'),ALIGN0;前第4天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,4)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第4天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第4天收盘价,'前第4天收盘价'),ALIGN0;前第5天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,5)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第5天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第5天开盘价,'前第5天开盘价'),ALIGN0;前第5天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,5)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第5天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第5天收盘价,'前第5天收盘价'),ALIGN0;前第6天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,6)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第6天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第5天开盘价,'前第6天开盘价'),ALIGN0;前第6天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,6)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第6天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第6天收盘价,'前第6天收盘价'),ALIGN0;前第7天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,7)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第7天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第7天开盘价,'前第7天开盘价'),ALIGN0;前第7天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,7)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第7天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第7天收盘价,'前第7天收盘价'),ALIGN0;前第8天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,8)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第8天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第8天开盘价,'前第8天开盘价'),ALIGN0;前第8天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,8)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第8天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第8天收盘价,'前第8天收盘价'),ALIGN0;前第13天开盘价:=REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,13)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第13天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第13天开盘价,'前第13天开盘价'),ALIGN0;前第13天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,13)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第13天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第13天收盘价,'前第13天收盘价'),ALIGN0;前第21天开盘价:=REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,21)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第21天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第21天开盘价,'前第21天开盘价'),ALIGN0;前第21天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,21)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第21天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第21天收盘价,'前第21天收盘价'),ALIGN0;前第34天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,34)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第34天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第34天开盘价,'前第34天开盘价'),ALIGN0;前第34天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,34)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第34天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第34天收盘价,'前第34天收盘价'),ALIGN0;前第55天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,55)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第55天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第55天开盘价,'前第55天开盘价'),ALIGN0;前第55天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,55)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第55天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第55天收盘价,'前第55天收盘价'),ALIGN0;前第89天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,89)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第89天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第89天开盘价,'前第89天开盘价'),ALIGN0;前第89天收盘价:=REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,89)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第89天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第89天收盘价,'前第89天收盘价'),ALIGN0;前第144天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,144)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第144天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第144天开盘价,'前第144天开盘价'),ALIGN0;前第144天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,144)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第144天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第144天收盘价,'前第144天收盘价'),ALIGN0;前第233天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,233)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第233天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第233天开盘价,'前第233天开盘价'),ALIGN0;前第233天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,233)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第233天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第233天收盘价,'前第233天收盘价'),ALIGN0;前第377天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,377)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第377天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第377天开盘价,'前第377天开盘价'),ALIGN0;前第377天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,377)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第377天收盘价,'前第377天收盘价'),ALIGN0;前第610天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,610)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第610天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第610天开盘价,'前第6107天开盘价'),ALIGN0;前第610天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,610)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第610天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第610天收盘价,'前第610天收盘价'),ALIGN0;前第987天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,987)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第987天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第987天开盘价,'前第987天开盘价'),ALIGN0;前第987天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,987)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第987天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第987天收盘价,'前第987天收盘价'),ALIGN0;前第1597天开盘价:REF(LLV(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,1597)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第1597天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第1597天开盘价,'前第1597天开盘价'),ALIGN0;前第1597天收盘价:REF(HHV(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,1597)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第1597天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第1597天收盘价,'前第1597天收盘价'),ALIGN0;PLAYSOUND(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),'B');PLAYSOUND(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),'B');PLAYSOUND(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第610天开盘价)||CROSSDOWN(C,前第987天开盘价)||CROSSDOWN(C,前第1597天开盘价),'B');DRAWICON(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),H,'ICO79'); DRAWICON(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),H,'ICO79'); DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),H,'ICO79'); DRAWICON(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),L,'ICO80'); DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),L,'ICO80');PLAYSOUND(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),'B');PLAYSOUND(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),'B');PLAYSOUND(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),'B');DRAWICON(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),H,'ICO79'); DRAWICON(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),H,'ICO79'); DRAWICON(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),H,'ICO79'); DRAWICON(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),L,'ICO80');来源: WWW.CXH99.COM
-
文华客服:
现在是最高价和最低价,帮我改为收盘价和开盘价哦谢谢,我改不过来哦
-
网友回复:
参考
A:BACKSET(ISLASTBAR,10),NODRAW;
前第2天开盘价:REF(O,SUMBARS(DAYBARPOS=1,2)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第2天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第2天开盘价,'前第2天开盘价'),ALIGN0;前第2天收盘价:REF(C,SUMBARS(DAYBARPOS=1,2)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第2天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第2天收盘价,'前第2天收盘价'),ALIGN0;前第3天开盘价:REF(O,SUMBARS(DAYBARPOS=1,3)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第3天开盘价,'前第3天开盘价'),ALIGN0;前第3天收盘价:REF(C,SUMBARS(DAYBARPOS=1,3)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第3天收盘价,'前第3天收盘价'),ALIGN0;前第4天开盘价:REF(O,SUMBARS(DAYBARPOS=1,4)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第4天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第4天开盘价,'前第4天开盘价'),ALIGN0;前第4天收盘价:REF(C,SUMBARS(DAYBARPOS=1,4)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第4天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第4天收盘价,'前第4天收盘价'),ALIGN0;前第5天开盘价:REF(O,SUMBARS(DAYBARPOS=1,5)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第5天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第5天开盘价,'前第5天开盘价'),ALIGN0;前第5天收盘价:REF(C,SUMBARS(DAYBARPOS=1,5)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第5天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第5天收盘价,'前第5天收盘价'),ALIGN0;前第6天开盘价:REF(O,SUMBARS(DAYBARPOS=1,6)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第6天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第5天开盘价,'前第6天开盘价'),ALIGN0;前第6天收盘价:REF(C,SUMBARS(DAYBARPOS=1,6)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第6天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第6天收盘价,'前第6天收盘价'),ALIGN0;前第7天开盘价:REF(O,SUMBARS(DAYBARPOS=1,7)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第7天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第7天开盘价,'前第7天开盘价'),ALIGN0;前第7天收盘价:REF(C,SUMBARS(DAYBARPOS=1,7)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第7天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第7天收盘价,'前第7天收盘价'),ALIGN0;前第8天开盘价:REF(O,SUMBARS(DAYBARPOS=1,8)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第8天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第8天开盘价,'前第8天开盘价'),ALIGN0;前第8天收盘价:=REF(C,SUMBARS(DAYBARPOS=1,8)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第8天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第8天收盘价,'前第8天收盘价'),ALIGN0;前第13天开盘价:=REF(O,SUMBARS(DAYBARPOS=1,13)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第13天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第13天开盘价,'前第13天开盘价'),ALIGN0;前第13天收盘价:=REF(C,SUMBARS(DAYBARPOS=1,13)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第13天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第13天收盘价,'前第13天收盘价'),ALIGN0;前第21天开盘价:=REF(O,SUMBARS(DAYBARPOS=1,21)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第21天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第21天开盘价,'前第21天开盘价'),ALIGN0;前第21天收盘价:REF(C,SUMBARS(DAYBARPOS=1,21)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第21天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第21天收盘价,'前第21天收盘价'),ALIGN0;前第34天开盘价:REF(O,SUMBARS(DAYBARPOS=1,34)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第34天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第34天开盘价,'前第34天开盘价'),ALIGN0;前第34天收盘价:REF(C,SUMBARS(DAYBARPOS=1,34)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第34天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第34天收盘价,'前第34天收盘价'),ALIGN0;前第55天开盘价:REF(O,SUMBARS(DAYBARPOS=1,55)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第55天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第55天开盘价,'前第55天开盘价'),ALIGN0;前第55天收盘价:REF(C,SUMBARS(DAYBARPOS=1,55)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第55天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第55天收盘价,'前第55天收盘价'),ALIGN0;前第89天开盘价:REF(O,SUMBARS(DAYBARPOS=1,89)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第89天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第89天开盘价,'前第89天开盘价'),ALIGN0;前第89天收盘价:=REF(C,SUMBARS(DAYBARPOS=1,89)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第89天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第89天收盘价,'前第89天收盘价'),ALIGN0;前第144天开盘价:REF(O,SUMBARS(DAYBARPOS=1,144)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第144天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第144天开盘价,'前第144天开盘价'),ALIGN0;前第144天收盘价:REF(C,SUMBARS(DAYBARPOS=1,144)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第144天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第144天收盘价,'前第144天收盘价'),ALIGN0;前第233天开盘价:REF(O,SUMBARS(DAYBARPOS=1,233)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第233天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第233天开盘价,'前第233天开盘价'),ALIGN0;前第233天收盘价:REF(C,SUMBARS(DAYBARPOS=1,233)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第233天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第233天收盘价,'前第233天收盘价'),ALIGN0;前第377天开盘价:REF(O,SUMBARS(DAYBARPOS=1,377)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第377天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第377天开盘价,'前第377天开盘价'),ALIGN0;前第377天收盘价:REF(C,SUMBARS(DAYBARPOS=1,377)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第3天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第377天收盘价,'前第377天收盘价'),ALIGN0;前第610天开盘价:REF(O,SUMBARS(DAYBARPOS=1,610)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第610天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第610天开盘价,'前第610天开盘价'),ALIGN0;前第610天收盘价:REF(C,SUMBARS(DAYBARPOS=1,610)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第610天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第610天收盘价,'前第610天收盘价'),ALIGN0;前第987天开盘价:REF(O,SUMBARS(DAYBARPOS=1,987)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第987天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第987天开盘价,'前第987天开盘价'),ALIGN0;前第987天收盘价:REF(C,SUMBARS(DAYBARPOS=1,987)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第987天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第987天收盘价,'前第987天收盘价'),ALIGN0;前第1597天开盘价:REF(O,SUMBARS(DAYBARPOS=1,1597)),COLORRED,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第1597天开盘价,1000),0,1,2,COLORRED);DRAWTEXT(ISLASTBAR,前第1597天开盘价,'前第1597天开盘价'),ALIGN0;前第1597天收盘价:REF(C,SUMBARS(DAYBARPOS=1,1597)),COLORGREEN,NODRAW;DRAWSL(CROSS(A,0.5),REFX1(前第1597天收盘价,1000),0,1,2,COLORGREEN);DRAWTEXT(ISLASTBAR,前第1597天收盘价,'前第1597天收盘价'),ALIGN0;PLAYSOUND(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),'B');PLAYSOUND(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),'B');PLAYSOUND(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),'B');PLAYSOUND(CROSSDOWN(C,前第610天开盘价)||CROSSDOWN(C,前第987天开盘价)||CROSSDOWN(C,前第1597天开盘价),'B');DRAWICON(CROSS(C,前第2天开盘价)||CROSS(C,前第3天开盘价)||CROSS(C,前第4天开盘价)||CROSS(C,前第5天开盘价)||CROSS(C,前第6天开盘价)||CROSS(C,前第7天开盘价)||CROSS(C,前第8天开盘价)||CROSS(C,前第13天开盘价),H,'ICO79'); DRAWICON(CROSS(C,前第21天开盘价)||CROSS(C,前第34天开盘价)||CROSS(C,前第55天开盘价)||CROSS(C,前第89天开盘价)||CROSS(C,前第144天开盘价)||CROSS(C,前第233天开盘价)||CROSS(C,前第377天开盘价),H,'ICO79'); DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),H,'ICO79'); DRAWICON(CROSSDOWN(C,前第2天开盘价)||CROSSDOWN(C,前第3天开盘价)||CROSSDOWN(C,前第4天开盘价)||CROSSDOWN(C,前第5天开盘价)||CROSSDOWN(C,前第6天开盘价)||CROSSDOWN(C,前第7天开盘价)||CROSSDOWN(C,前第8天开盘价)||CROSSDOWN(C,前第13天开盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第21天开盘价)||CROSSDOWN(C,前第34天开盘价)||CROSSDOWN(C,前第55天开盘价)||CROSSDOWN(C,前第89天开盘价)||CROSSDOWN(C,前第144天开盘价)||CROSSDOWN(C,前第233天开盘价)||CROSSDOWN(C,前第377天开盘价),L,'ICO80'); DRAWICON(CROSS(C,前第610天开盘价)||CROSS(C,前第987天开盘价)||CROSS(C,前第1597天开盘价),L,'ICO80');PLAYSOUND(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),'B');PLAYSOUND(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),'B');PLAYSOUND(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),'B');PLAYSOUND(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),'B');DRAWICON(CROSS(C,前第2天收盘价)||CROSS(C,前第3天收盘价)||CROSS(C,前第4天收盘价)||CROSS(C,前第5天收盘价)||CROSS(C,前第6天收盘价)||CROSS(C,前第7天收盘价)||CROSS(C,前第8天收盘价)||CROSS(C,前第13天收盘价),H,'ICO79'); DRAWICON(CROSS(C,前第21天收盘价)||CROSS(C,前第34天收盘价)||CROSS(C,前第55天收盘价)||CROSS(C,前第89天收盘价)||CROSS(C,前第144天收盘价)||CROSS(C,前第233天收盘价)||CROSS(C,前第377天收盘价),H,'ICO79'); DRAWICON(CROSS(C,前第610天收盘价)||CROSS(C,前第987天收盘价)||CROSS(C,前第1597天收盘价),H,'ICO79'); DRAWICON(CROSSDOWN(C,前第2天收盘价)||CROSSDOWN(C,前第3天收盘价)||CROSSDOWN(C,前第4天收盘价)||CROSSDOWN(C,前第5天收盘价)||CROSSDOWN(C,前第6天收盘价)||CROSSDOWN(C,前第7天收盘价)||CROSSDOWN(C,前第8天收盘价)||CROSSDOWN(C,前第13天收盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第21天收盘价)||CROSSDOWN(C,前第34天收盘价)||CROSSDOWN(C,前第55天收盘价)||CROSSDOWN(C,前第89天收盘价)||CROSSDOWN(C,前第144天收盘价)||CROSSDOWN(C,前第233天收盘价)||CROSSDOWN(C,前第377天收盘价),L,'ICO80'); DRAWICON(CROSSDOWN(C,前第610天收盘价)||CROSSDOWN(C,前第987天收盘价)||CROSSDOWN(C,前第1597天收盘价),L,'ICO80');
- 网友回复: 这个什么时候能够帮我改好
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
相关文章
-
没有相关内容