缠中说禅大趋势线
IF STKNAME='上证指数' THEN BEGIN
DISPLAY:=SYSPARAM(1)=COUNT(1,0);
PARTLINE(DATE>=920526,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+180*7,1,XINCHANMI)),colorFF;
PARTLINE(DATE>=920526,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+135*7,1,XINCHANMI)),colorFF00FF;
PARTLINE(DATE>=920526,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+90*7,1,XINCHANMI)),colorFF00;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+90*7,0,XINCHANMI),'起点1429 1:4线位置: '+NUMTOSTR(LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+90*7,0,XINCHANMI),0)+'--→'),ALIGN2,colorFF00;
PARTLINE(DATE>=920526,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+60*7,1,XINCHANMI)),color80;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+60*7,0,XINCHANMI),'起点1429 1:6线位置: '+NUMTOSTR(LINEVALUE(DATE=920526,HIGH,DATE=990526,1429.01001+60*7,0,XINCHANMI),0)+'--→'),ALIGN2,color80;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+180*5,1,XINCHANMI)),colorFF;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+135*5,1,XINCHANMI)),colorFF00FF;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+90*5,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+60*5,1,XINCHANMI)),color80;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+45*5,1,XINCHANMI)),colorFF0000;
PARTLINE(DATE>=940729,LINEVALUE(DATE=940729,325.89001,DATE=990729,325.89001+22.5*5,1,XINCHANMI)),colorFFFFFF;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-2880,1,XINCHANMI)),colorFF0000;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-2160,1,XINCHANMI)),color80;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-1800,1,XINCHANMI)),color808080;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-1440,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-1080,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=1071016,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-720,1,XINCHANMI)),colorFF;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-1800,0,XINCHANMI),'起点6124 5:1线位置: '+NUMTOSTR(LINEVALUE(DATE=1071016,6124.04004,DATE=1081016,6124.04004-1800,0,XINCHANMI),0)+'--→'),ALIGN2,color808080;
PARTLINE(DATE>=1050606,LINEVALUE(DATE=1050606,998.22998,DATE=1070606,998.22998+180*3,1,XINCHANMI)),colorA0A0;
PARTLINE(DATE>=1050606,LINEVALUE(DATE=1050606,998.22998,DATE=1070606,998.22998+180*4,1,XINCHANMI)),colorFF0000;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=1050606,998.22998,DATE=1070606,998.22998+180*4,0,XINCHANMI),'起点998 1:1线位置: '+NUMTOSTR(LINEVALUE(DATE=1050606,998.22998,DATE=1070606,998.22998+180*4,0,XINCHANMI),0)+'--→'),ALIGN2,colorFF0000;
PARTLINE(DATE>=1050606,LINEVALUE(DATE=1050606,998.22998,DATE=1070606,998.22998+180*6,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,1664.93005,DATE=1090428,1664.93005+180*3,1,XINCHANMI)),colorA0A0;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,1664.93005,DATE=1090428,1664.93005+180*4,1,XINCHANMI)),colorFF;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,1664.93005,DATE=1090428,1664.93005+180*6,1,XINCHANMI)),colorFFFF00;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=1081028,1664.93005,DATE=1090428,1664.93005+180*4,0,XINCHANMI),'起点1664 2:1线位置: '+NUMTOSTR(LINEVALUE(DATE=1081028,1664.93005,DATE=1090428,1664.93005+180*4,0,XINCHANMI),0)+'--→'),ALIGN2,colorFF;
PARTLINE(DATE>=1010614,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+60*5,1,XINCHANMI)),color80;
PARTLINE(DATE>=1010614,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+90*5,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=1010614,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+120*5,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=1010614,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+135*5,1,XINCHANMI)),colorFF00FF;
PARTLINE(DATE>=1010614,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+180*5,1,XINCHANMI)),colorFF;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+90*5,0,XINCHANMI),'起点2245 1:4线位置: '+NUMTOSTR(LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+90*5,0,XINCHANMI),0)+'--→'),ALIGN2,colorFF00;
DRAWTEXT(DISPLAY,LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+60*5,0,XINCHANMI),'起点2245 1:6线位置: '+NUMTOSTR(LINEVALUE(DATE=1010614,2245.43994,DATE=1060614,2245.43994+60*5,0,XINCHANMI),0)+'--→'),ALIGN2,color80;
END;
IF STKNAME='深证成指' THEN BEGIN
PARTLINE(DATE>=920527,LINEVALUE(DATE=920527,HIGH,DATE=990527,2900.5+720*7,1,XINCHANMI)),colorA0A0;
PARTLINE(DATE>=920527,LINEVALUE(DATE=920527,HIGH,DATE=990527,2900.5+810*7,1,XINCHANMI)),colorFFFF;
PARTLINE(DATE>=920527,LINEVALUE(DATE=920527,HIGH,DATE=990527,2900.5+360*7,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=920527,LINEVALUE(DATE=920527,HIGH,DATE=990527,2900.5+270*7,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=1050603,LINEVALUE(DATE=1050603,LOW,DATE=1080603,2590.53003+540*6,1,XINCHANMI)),color500050;
PARTLINE(DATE>=1050603,LINEVALUE(DATE=1050603,LOW,DATE=1080603,2590.53003+540*9,1,XINCHANMI)),colorA0A0;
PARTLINE(DATE>=1050603,LINEVALUE(DATE=1050603,LOW,DATE=1080603,2590.53003+540*12,1,XINCHANMI)),colorFF;
PARTLINE(DATE>=1071010,LINEVALUE(DATE=1071010,HIGH,DATE=1081010,19600.0293-540*12,1,XINCHANMI)),color80;
PARTLINE(DATE>=1071010,LINEVALUE(DATE=1071010,HIGH,DATE=1081010,19600.0293-540*8,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=1071010,LINEVALUE(DATE=1071010,HIGH,DATE=1081010,19600.0293-540*6,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,LOW,DATE=1090428,5577.22998+540*6,1,XINCHANMI)),colorFFFF00;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,LOW,DATE=1090428,5577.22998+540*8,1,XINCHANMI)),colorFF00;
PARTLINE(DATE>=1081028,LINEVALUE(DATE=1081028,LOW,DATE=1090428,5577.22998+540*12,1,XINCHANMI)),color80;
END;
DRAWTEXTEX(1,0,15,0,'新缠咪版缠中说禅趋势压力线指标'),colorFF00;
DRAWTEXTEX(1,0,3,16,'缠中说禅《教你抄月殳票》理论研讨论坛'),colorFF;
DRAWTEXTEX(1,0,5,32,'http://chanzhongshuochan.5d6d.com'),colorFF;
DRAWTEXTEX(1,0,55,48,'新缠咪版权所有○'),colorFFFF;
DRAWTEXTEX(1,0,142,46,'c'),colorFF;
|