DRAWBKBMP(H>=L,'8');
pl5:=之字转向(3,5);en1:=之字转向(3,5)>向前引用(之字转向(3,5),1) and 向前引用(之字转向(3,5),1)<=向前引用(之字转向(3,5),2) and 向前引用(之字转向(3,5),2)<=向前引用(之字转向(3,5),3);ex1:=之字转向(3,5)<向前引用(之字转向(3,5),1) and 向前引用(之字转向(3,5),1)>=向前引用(之字转向(3,5),2) and 向前引用(之字转向(3,5),2)>=向前引用(之字转向(3,5),3);pl10:=之字转向(3,13);en2:=之字转向(3,10)>向前引用(之字转向(3,10),1) and 向前引用(之字转向(3,10),1)<=向前引用(之字转向(3,10),2) and 向前引用(之字转向(3,10),2)<=向前引用(之字转向(3,10),3);ex2:=之字转向(3,10)<向前引用(之字转向(3,10),1) and 向前引用(之字转向(3,10),1)>=向前引用(之字转向(3,10),2) and 向前引用(之字转向(3,10),2)>=向前引用(之字转向(3,10),3);pl20:=之字转向(3,26);en3:=之字转向(3,20)>向前引用(之字转向(3,20),1) and 向前引用(之字转向(3,20),1)<=向前引用(之字转向(3,20),2) and 向前引用(之字转向(3,20),2)<=向前引用(之字转向(3,20),3);ex3:=之字转向(3,20)<向前引用(之字转向(3,20),1) and 向前引用(之字转向(3,20),1)>=向前引用(之字转向(3,20),2) and 向前引用(之字转向(3,20),2)>=向前引用(之字转向(3,20),3);pl40:=之字转向(3,55);走强1:=上一次条件成立位置(pl5<向前引用(pl5,1));走弱1:=上一次条件成立位置(pl5>向前引用(pl5,1));走强2:=上一次条件成立位置(pl10<向前引用(pl10,1));走弱2:=上一次条件成立位置(pl10>向前引用(pl10,1));走强3:=上一次条件成立位置(pl20<向前引用(pl20,1));走弱3:=上一次条件成立位置(pl20>向前引用(pl20,1));ztjz5:=条件函数(pl10>向前引用(pl10,1),统计总数(en1,走强2),0);ztjd5:=条件函数(pl10>向前引用(pl10,1),统计总数(ex1,走强2),0);dtjz5:=条件函数(pl10<向前引用(pl10,1),统计总数(en1,走弱2),0);dtjd5:=条件函数(pl10<向前引用(pl10,1),统计总数(ex1,走弱2),0);ztjz10:=条件函数(pl20>向前引用(pl20,1),统计总数(en2,走强3),0);ztjd10:=条件函数(pl20>向前引用(pl20,1),统计总数(ex2,走强3),0);dtjz10:=条件函数(pl20<向前引用(pl20,1),统计总数(en2,走弱3),0);dtjd10:=条件函数(pl20<向前引用(pl20,1),统计总数(ex2,走弱3),0);显示文字(en1 and dtjz5=1,最低价*0.98,'(Ⅰ)'),colorffff00;显示文字(ex1 and dtjd5=2,最高价*1.02,'(Ⅱ)'),colorffff00;显示文字(en2 and ztjz5=1,最低价*0.98,'(Ⅲ)'),colorffff00;显示文字(ex1 and pl10>向前引用(pl10,1) and ztjd5=1,最高价*1.02,'⑴'),colorff;显示文字(en1 and pl10>向前引用(pl10,1) and ztjz5=2,最低价*0.98,'⑵'),colorff;显示文字(ex1 and pl10>向前引用(pl10,1) and ztjz5=2,最高价*1.02,'⑶'),colorff;显示文字(en1 and pl10>向前引用(pl10,1) and ztjz5=3,最低价*0.98,'⑷'),colorff;显示文字(ex2 and pl20>向前引用(pl20,1) and ztjd10=1,最高价*1.02,'⑸'),colorff;显示文字(en2 and dtjz10=1,最低价*0.94,'【A】'),color00ff00;显示文字(ex2 and dtjd10=2,最高价*1.03,'【B】'),color00ff00;显示文字(en3 and ztjz10=1,最低价*0.94,'【C】'),color00ff00;显示文字(ex2 and pl20>向前引用(pl20,1) and ztjd10=1,最高价*1.04,'①'),Linethick3,colorffff;显示文字(en2 and pl20>向前引用(pl20,1) and ztjz10=2,最低价*0.94,'②'),Linethick3,colorffff;显示文字(ex2 and pl20>向前引用(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,最高价*1.04,'③'),Linethick3,colorffff;显示文字(en2 and pl20>向前引用(pl20,1) and ztjz10=3,最低价*0.94,'④'),Linethick3,colorffff;DMLJ:=最高值(最高价,120);GET:ZIG(3,5)COLORWHITE,LINETHICK2;TY:=收盘价;HD:=信号过滤(向前赋值(信号过滤(向前引用(TY,10)=最高值(TY,2*10+1),10),10+1),10);LD:=信号过滤(向前赋值(信号过滤(向前引用(TY,10)=最低值(TY,2*10+1),10),10+1),10);A:=向前引用(收盘价,上一次条件成立位置(HD));B:=向前引用(收盘价,上一次条件成立位置(LD));T1:=上一次条件成立位置(HD)<上一次条件成立位置(LD) AND 求逻辑非(HD) ;T2:=上一次条件成立位置(HD)>上一次条件成立位置(LD) AND 求逻辑非(LD);波浪顶:条件函数(T1,A,A),COLORFF00FF,点状线,LINETHICK4;画柱线(T1,A,A,9,0),COLORFF00FF;波浪底:条件函数(T2,B,B),COLOR80FF00,点状线,LINETHICK4;VAR3:=最低值(最高价,240);VAR4:=100*(收盘价-VAR3)/VAR3;VAR5:=(收盘价-最低值(最低价,528))/(最高值(最高价,528)-最低值(最低价,528))*100;VAR6:=(收盘价-最低值(收盘价,530))/(最高值(收盘价,530)-最低值(收盘价,530))*100;VAR7:=0;VAR8:=简单移动平均(最高值(收盘价-向前引用(收盘价,1),0),34)/简单移动平均(绝对值(收盘价-向前引用(收盘价,1)),7)*100;VAR9:=简单移动平均(最高值(收盘价-向前引用(收盘价,1),0),13)/简单移动平均(绝对值(收盘价-向前引用(收盘价,1)),13)*100;VARA:=有效值周期数(收盘价);VARB:=VAR8<20 AND VAR9<23 AND VARA>35;VARC:=VARB AND 统计总数(VARB,1)=1;VARD:=指数平滑移动平均(收盘价,21)-指数平滑移动平均(收盘价,8);VARE:=指数平滑移动平均(VARD,5);VARF:=前M个波谷值(3,6,1)<4 AND 交叉函数(VARD,VARE);VAR10:=条件函数(前M个波谷值(3,16,1)=0 AND 最高价>最低价+0.04,4,0);VAR11:=之字转向(3,6)>向前引用(之字转向(3,6),1) AND 向前引用(之字转向(3,6),1)<=向前引用(之字转向(3,6),2) AND 向前引用(之字转向(3,6),2)<=向前引用(之字转向(3,6),3);VAR12:=之字转向(3,6)<向前引用(之字转向(3,6),1) AND 向前引用(之字转向(3,6),1)>=向前引用(之字转向(3,6),2) AND 向前引用(之字转向(3,6),2)>=向前引用(之字转向(3,6),3);VAR13:=之字转向(3,22)>向前引用(之字转向(3,22),1) AND 向前引用(之字转向(3,22),1)<=向前引用(之字转向(3,22),2) AND 向前引用(之字转向(3,22),2)<=向前引用(之字转向(3,22),3);VAR14:=之字转向(3,22)<向前引用(之字转向(3,22),1) AND 向前引用(之字转向(3,22),1)>=向前引用(之字转向(3,22),2) AND 向前引用(之字转向(3,22),2)>=向前引用(之字转向(3,22),3);VAR15:=之字转向(3,51)>向前引用(之字转向(3,51),1) AND 向前引用(之字转向(3,51),1)<=向前引用(之字转向(3,51),2) AND 向前引用(之字转向(3,51),2)<=向前引用(之字转向(3,51),3);VAR16:=之字转向(3,51)<向前引用(之字转向(3,51),1) AND 向前引用(之字转向(3,51),1)>=向前引用(之字转向(3,51),2) AND 向前引用(之字转向(3,51),2)>=向前引用(之字转向(3,51),3);VAR17:=之字转向(3,72)>向前引用(之字转向(3,72),1) AND 向前引用(之字转向(3,72),1)<=向前引用(之字转向(3,72),2) AND 向前引用(之字转向(3,72),2)<=向前引用(之字转向(3,72),3);VAR18:=之字转向(3,72)<向前引用(之字转向(3,72),1) AND 向前引用(之字转向(3,72),1)>=向前引用(之字转向(3,72),2) AND 向前引用(之字转向(3,72),2)>=向前引用(之字转向(3,72),3);VAR19:=指数平滑移动平均(收盘价,2)-指数平滑移动平均(收盘价,150);VAR1A:=指数平滑移动平均(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=乘幂(VAR1B,3)*0.1+乘幂(VAR1B,1);VAR1D:=开平方(开平方(最低价*最高价*开盘价*收盘价));VAR1E:=指数平滑移动平均(VAR1D*0.97,3);VAR1F:=(最高价+最低价+收盘价)/3;VAR20:=(VAR1F-简单移动平均(VAR1F,14))/(0.015*平均绝对偏差(VAR1F,14));VAR21:=交叉函数(VAR1E,最低价);买点1:=VAR10;买点2:=(VAR11+VAR13+VAR15+VAR17);卖点1:=(VAR12+VAR14+VAR16+VAR18),LINETHICK2;VAR22:=买点1 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5=0 AND VAR6=0 AND VAR20<(-110);VAR1:=简单移动平均(收盘价,6);VAR2:=简单移动平均(收盘价,18);VAR31:=简单移动平均(收盘价,30);VARB1:=求和(收盘价*成交量*100,28)/求和(成交量*100,28);VARC1:=取整(VARB1*100)/100;VARD1:=指数平滑移动平均(收盘价,5)-指数平滑移动平均(收盘价,10);VARE1:=指数平滑移动平均(VARD1,9);VAR131:=向前引用(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-VAR131;VAR161:=向前引用(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-VAR161;VAR191:=开盘价;VAR1A1:=收盘价;显示文字(买点1>0,最低价-0.01,'▲买!'),COLORRED;显示文字(买点2>0,最低价-0.01,'▲买入要涨了'),COLORYELLOW;显示文字(卖点1>0,最高价+0.1,'▼快卖要跌了'), COLORWHITE;a:=有效值周期数(收盘价);ah:=最高值(最高价,72);al:=最低值(最低价,72);a0:=(ah-al)/21;b1:=最低价-a0;显示文字((a+0)/15=向下舍入((a+0)/15),b1-2.5*a0,'▲时窗'),COLORWHITE;var31:=上一高点位置(之字转向(3, 19)>向前引用(之字转向(3,19),1)and 向前引用(之字转向(3,19), 1)<向前引用(之字转向(3,19), 2),0);画柱线(var31=2,最低价*0.95,最低价*0.98,8,0),color0000ff;显示文字(var31=2,最低价*0.95,'3天'),COLORWHITE;画柱线(var31=4,最高价*1.05,最高价*1.02,8,0),color9966ff;显示文字(var31=4,最高价*1.06,'5天'),COLORWHITE;画柱线(var31=7,最低价*0.95,最低价*0.98,8,0),color00ffff;显示文字(var31=7,最低价*0.95,'8天'),COLORWHITE;画柱线(var31=12,最高价*1.05,最高价*1.02,8,0),colorff33ff;显示文字(var31=12,最高价*1.06,'13天'),COLORWHITE;画柱线(var31=20,最低价*0.95,最低价*0.98,8,0),color0066ff;显示文字(var31=20,最低价*0.95,'21天'),COLORWHITE;画柱线(var31=33,最高价*1.05,最高价*1.02,8,0),colorffff00;显示文字(var31=33,最高价*1.06,'34天'),COLORWHITE;画柱线(var31=54,最低价*0.95,最低价*0.98,8,0),COLORWHITE;显示文字(var31=54,最低价*0.95,'55天'),COLORWHITE;画柱线(var31=88,最高价*1.05,最高价*1.02,8,0),color00ff00;显示文字(var31=88,最高价*1.06,'89天'),COLORWHITE;画柱线(var31=143,最低价*0.95,最低价*0.98,8,0),colorccffff;显示文字(var31=143,最低价*0.95,'144天'),COLORWHITE;画柱线(var31=232 ,最高价*1.05,最高价*1.02,8,0),colorff0033;显示文字(var31=232,最高价*1.06,'233天'),COLORWHITE;画柱线(var31=376,最低价*0.95,最低价*0.98,8,0),colorff9966;显示文字(var31=376,最低价*0.95,'377天'),COLORWHITE;立春:=信号过滤(月份=2 AND (日期=3 OR 日期=5 ),2);雨水:=信号过滤(月份=2 AND (日期=18 OR 日期=20),2);惊蛰:=信号过滤(月份=3 AND (日期=5 OR 日期=7 ),2);春分:=信号过滤(月份=3 AND (日期=20 OR 日期=22),2);清明:=信号过滤(月份=4 AND (日期=3 OR 日期=6 ),2);谷雨:=信号过滤(月份=4 AND (日期=19 OR 日期=21),2);立夏:=信号过滤(月份=5 AND (日期=6 OR 日期=8 ),2);小满:=信号过滤(月份=5 AND (日期=20 OR 日期=22),2);芒种:=信号过滤(月份=6 AND (日期=5 OR 日期=7 ),2);夏至:=信号过滤(月份=6 AND (日期=20 OR 日期=22),2);小暑:=信号过滤(月份=7 AND (日期=6 OR 日期=8 ),2);大署:=信号过滤(月份=7 AND (日期=22 OR 日期=24),2);立秋:=信号过滤(月份=8 AND (日期=7 OR 日期=9 ),2);处暑:=信号过滤(月份=8 AND (日期=22 OR 日期=24),2);白露:=信号过滤(月份=9 AND (日期=7 OR 日期=9 ),2);秋分:=信号过滤(月份=9 AND (日期=22 OR 日期=24),2);寒露:=信号过滤(月份=10 AND (日期=7 OR 日期=9 ),2);霜降:=信号过滤(月份=10 AND (日期=22 OR 日期=24),2);立冬:=信号过滤(月份=11 AND (日期=7 OR 日期=9 ),2);小雪:=信号过滤(月份=11 AND (日期=22 OR 日期=24),2);大雪:=信号过滤(月份=12 AND (日期=6 OR 日期=8 ),2);冬至:=信号过滤(月份=12 AND (日期=21 OR 日期=23),2);小寒:=信号过滤(月份=1 AND (日期=5 OR 日期=7 ),2);大寒:=信号过滤(月份=1 AND (日期=19 OR 日期=21),2);显示文字(立春,最高价*1.02,'立春'),COLORgreen,ALIGN1;显示文字(雨水,最高价*1.02,'雨水'),COLORgreen,ALIGN1;显示文字(惊蛰,最高价*1.02,'惊蛰'),COLORgreen,ALIGN1;显示文字(春分,最高价*1.02,'春分'),COLORgreen,ALIGN1;显示文字(清明,最高价*1.02,'清明'),COLORgreen,ALIGN1;显示文字(谷雨,最高价*1.02,'谷雨'),COLORgreen,ALIGN1;显示文字(立夏,最高价*1.02,'立夏'),COLORMAGENTA,ALIGN1;显示文字(小满,最高价*1.02,'小满'),COLORMAGENTA,ALIGN1;显示文字(芒种,最高价*1.02,'芒种'),COLORMAGENTA,ALIGN1;显示文字(夏至,最高价*1.02,'夏至'),COLORMAGENTA,ALIGN1;显示文字(小暑,最高价*1.02,'小暑'),COLORMAGENTA,ALIGN1;显示文字(大署,最高价*1.02,'大署'),COLORMAGENTA,ALIGN1;显示文字(立秋,最高价*1.02,'立秋'),COLORYELLOW,ALIGN1;显示文字(处暑,最高价*1.02,'处暑'),COLORYELLOW,ALIGN1;显示文字(白露,最高价*1.02,'白露'),COLORYELLOW,ALIGN1;显示文字(秋分,最高价*1.02,'秋分'),COLORYELLOW,ALIGN1;显示文字(寒露,最高价*1.02,'寒露'),COLORYELLOW,ALIGN1;显示文字(霜降,最高价*1.02,'霜降'),COLORYELLOW,ALIGN1;显示文字(立冬,最高价*1.02,'立冬'),COLORWHITE,ALIGN1;显示文字(小雪,最高价*1.02,'小雪'),COLORWHITE,ALIGN1;显示文字(大雪,最高价*1.02,'大雪'),COLORWHITE,ALIGN1;显示文字(冬至,最高价*1.02,'冬至'),COLORWHITE,ALIGN1;显示文字(小寒,最高价*1.02,'小寒'),COLORWHITE,ALIGN1;显示文字(大寒,最高价*1.02,'大寒'),COLORWHITE,ALIGN1;下跌值:=ref(H,1)-MA(ref(H,2)-ref(L,1),3);买进低值:=ref(L,1)-MA(ref(L,2)-ref(L,1),3);今天低点:=ref(L,1);趋势回档买进值:=((ref(H,1)+ref(L,1)+ref(C,1))/3)*2-ref(H,1);买进值:=(下跌值+买进低值+今天低点+趋势回档买进值)/4;上涨值:=ma((ref(h,1)-ref(l,2)),3)+ref(l,1);买进高点:=ma(ref(h,1)-ref(h,2),3)+ref(h,1);今天高点:=ref(H,1);趋势回档卖出值:=((ref(h,1)+ref(l,1)+ref(c,1))/3)*2-ref(l,1);{LSS轴点突破买入值}卖出值:=(上涨值+买进高点+今天高点+趋势回档卖出值)/4;DRAWTEXTEX(1,0,75,27,' 《LSS系统》'),ColorFFFF00;DRAWTEXTEX(1,0,150,27,' 支撑 压力:'),Color208FFF;DRAWTEXTEX(1,0,90,44,'买入封套 '),ColorFFFFFF;DRAWTEXTEX(1,0,80,62,' '+NUMTOSTR(下跌值[SYSPARAM(1)],2)),Coloryellow;DRAWTEXTEX(1,0,80,80,' '+NUMTOSTR(买进低值[SYSPARAM(1)],2)),Coloryellow;DRAWTEXTEX(1,0,80,98,' '+NUMTOSTR(今天低点[SYSPARAM(1)],2)),Coloryellow;DRAWTEXTEX(1,0,80,115,' '+NUMTOSTR(趋势回档买进值[SYSPARAM(1)],2)),Coloryellow;DRAWTEXTEX(1,0,80,132,' '+NUMTOSTR(买进值[SYSPARAM(1)],2)),Colorred;DRAWTEXTEX(1,0,160,44,'卖出封套'),Color00FF00;DRAWTEXTEX(1,0,160,62,' '+NUMTOSTR(上涨值[SYSPARAM(1)],2)),ColorFF00FF;DRAWTEXTEX(1,0,160,80,' '+NUMTOSTR(买进高点[SYSPARAM(1)],2)),ColorFF00FF;DRAWTEXTEX(1,0,160,98,' '+NUMTOSTR(今天高点[SYSPARAM(1)],2)),ColorFF00FF;DRAWTEXTEX(1,0,160,115,' '+NUMTOSTR(趋势回档卖出值[SYSPARAM(1)],2)),ColorFF00FF;DRAWTEXTEX(1,0,160,132,' '+NUMTOSTR(卖出值[SYSPARAM(1)],2)),Colorgreen;DRAWTEXTEX(1,0,75,17,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,29,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,41,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,53,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,65,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,77,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,89,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,101,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,113,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,125,'│'),Color00FFFF;DRAWTEXTEX(1,0,75,137,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,17,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,29,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,41,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,53,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,65,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,77,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,89,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,101,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,113,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,125,'│'),Color00FFFF;DRAWTEXTEX(1,0,218,137,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,29,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,41,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,53,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,65,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,77,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,89,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,101,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,113,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,125,'│'),Color00FFFF;DRAWTEXTEX(1,0,146,137,'│'),Color00FFFF;//DRAWTEXTEX(1,0,80,0,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,20,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,37,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,54,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,71,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,88,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,105,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,120,'────────────'),Color00FFFF;DRAWTEXTEX(1,0,80,138,'────────────'),Color00FFFF;平顶:=h=ref(h,1) or (h=ref(h,2) and h>ref(h,1));drawtext(平顶,h*1.01,'平顶'),colorgreen;partline(平顶,h),colorgreen;平底:=l=ref(l,1) or (l=ref(l,2) and l<ref(l,1));drawtext(平底,l*0.99,'平底'),colorgreen;partline(平底,l),colorgreen;阳子母:=c>ref(max(c,o),1) and h>ref(h,1) and l<ref(l,1) and c>o and ref(max(c,o),1)/ref(min(c,o),1)>1.01 and (o<>l or c<>h);drawtext(阳子母,l*0.99,'阳子母'),coloryellow;阴子母:=c<ref(min(c,o),1) and h>ref(h,1) and l<ref(l,1) and c<o and ref(max(c,o),1)/ref(min(c,o),1)>1.01 and (o<>h or c<>l);drawtext(阴子母,h*1.01,'阴子母'),colorblue;阴母子:=c>ref(min(c,o),1) and h<ref(h,1) and l>ref(l,1) and c<o and c/o<0.99;drawtext(阴母子,h*1.01,'阴母子'),colorblue;阳母子:=c<ref(max(c,o),1) and h<ref(h,1) and l>ref(l,1) and c>o and c/o>1.01;drawtext(阳母子,l*0.99,'阳母子'),coloryellow;乌云盖顶:=ref(c,1)/ref(o,1)>1.03 and c<o and h>ref(h,1) and c>ref(o,1) and l>ref(l,1) and o>ref(h,1) and c<(ref(c,1)+ref(o,1))/2;drawtext(乌云盖顶,h*1.01,'乌云盖顶'),colorblue;曙光初现:=ref(o,1)/ref(c,1)>1.03 and c>o and h<ref(h,1) and c<ref(o,1) and l<ref(l,1) and o<ref(l,1) and c>(ref(c,1)+ref(o,1))/2;drawtext(曙光初现,l*0.99,'曙光初现'),coloryellow;空戳多:=c<ref(c,1) and ref(c,1)/ref(o,1)>1.03 and c<o and h>ref(h,1) and c>ref(o,1) and l>ref(l,1) and o>ref(h,1) and c>(ref(c,1)+ref(o,1))/2;drawtext(空戳多,h*1.01,'空戳多'),colorblue;多戳空:=c>ref(c,1) and ref(o,1)/ref(c,1)>1.03 and c>o and h<ref(h,1) and c<ref(o,1) and l<ref(l,1) and o<ref(l,1) and c<(ref(c,1)+ref(o,1))/2;drawtext(多戳空,l*0.99,'多戳空'),coloryellow;空头反攻:=c=ref(c,1) and ref(c,1)/ref(o,1)>1.03 and c<o and h>ref(h,1) and c>ref(o,1) and l>ref(l,1) and o>ref(h,1);drawtext(空头反攻,h*1.01,'空头反攻'),colorblue;多头反攻:=c=ref(c,1) and ref(o,1)/ref(c,1)>1.03 and c>o and h<ref(h,1) and c<ref(o,1) and l<ref(l,1) and o<ref(l,1);drawtext(多头反攻,l*0.99,'多头反攻'),coloryellow;玉柱:=c>ref(max(c,o),1) and h>ref(h,1) and l<ref(l,1) and c>o and ref(max(c,o),1)/ref(min(c,o),1)>1.01 and o=l and c=h;drawtext(玉柱,l*0.99,'玉柱'),coloryellow;危楼:=c<ref(min(c,o),1) and h>ref(h,1) and l<ref(l,1) and c<o and ref(max(c,o),1)/ref(min(c,o),1)>1.01 and o=h and c=l;drawtext(危楼,h*1.01,'危楼'),colorblue;{3根k线组合}红三兵:=count(h/c<1.02,3)=3 and count(c/o>1.01,3)=3 and count(c>ref(c,1),2)=2 and count(h>ref(h,1),2)=2 and count(l>ref(l,1),2)=2 and abs(ref(c,2)/ref(o,2)-ref(c,1)/ref(o,1))<0.02 and abs(ref(c,1)/ref(o,1)-c/o)<0.02;drawtext(红三兵,l*0.99,'红三兵'),coloryellow;黑三兵:=count(c/l<1.02,3)=3 and count(o/c>1.01,3)=3 and count(c<ref(c,1),2)=2 and count(h<ref(h,1),2)=2 and count(l<ref(l,1),2)=2 and abs(ref(c,2)/ref(o,2)-ref(c,1)/ref(o,1))<0.02 and abs(ref(c,1)/ref(o,1)-c/o)<0.02;drawtext(黑三兵,h*1.01,'黑三兵'),colorblue;大敌当前:=count(c/o<1.03,2)=2 and count(h/c>1.015,2)=2 and count(c>o,3)=3 and count(c>ref(c,1),2)=2 and count(h>ref(h,1),2)=2 and count(l>ref(l,1),2)=2 and ref(c,2)/ref(o,2)>1.03 and ref(c,2)/ref(o,2)>ref(c,1)/ref(o,1) and ref(c,2)/ref(o,2)>c/o and h/c>ref(h/c,2) and ref(h/c,1)>ref(h/c,2);drawtext(大敌当前,l*0.99,'大敌当前'),colorblue;步步为营:=count(c>o,3)=3 and count(c>ref(c,1),2)=2 and count(h>ref(h,1),2)=2 and count(l>ref(l,1),2)=2 and (ref(c/o,2)>1.03 or ref(c/o,1)>1.03) and c/o<ref(c/o,2) and c/o<ref(c/o,1 and h/c>ref(h/c,2) and h/c>ref(h/c,1)) and h/c>1.02;drawtext(步步为营,l*0.99,'步步为营'),colorblue;离黑战车:=ref(c/o,2)>1.01 and ref(o/c,1)>1.01 and c/o>1.01 and ref(h/c,2)<1.02 and ref(h/o,1)<1.02 and h/c<1.02 and ref(o,1)>ref(c,2) and c>ref(o,1) and count(h>ref(h,1),2)=2 and count(l>ref(l,1),2)=2 and abs(ref(c/o,2)-ref(o/c,1))<0.02 and abs(ref(o/c,1)-c/o)<0.02 and ref(c,1)>ref(o,2);drawtext(离黑战车,l*0.99,'离黑战车'),coloryellow;离白战车:=ref(o/c,2)>1.01 and ref(c/o,1)>1.01 and o/c>1.01 and ref(h/o,2)<1.02 and ref(h/c,1)<1.02 and h/o<1.02 and (ref(c,1)=ref(o,2) or ref(c,1)<ref(o,2)) and o<ref(c,1) and c<ref(o,1) and count(h<ref(h,1),2)=2 and count(l<ref(l,1),2)=2 and abs(ref(c/o,2)-ref(o/c,1))<0.02 and abs(ref(o/c,1)-c/o)<0.02;drawtext(离白战车,h*1.01,'离白战车'),colorblue;晨星:=(ref(c/o,2)<0.97 and abs(ref(c/o,1)-1)<0.015 and c/o>1.025 and ref(max(c,o),1)<ref(c,2) and o>ref(max(c,o),1))or (ref(c/o,3)<0.97 and abs(ref(c/o,1)-1)<0.02 and abs(ref(c/o,2)-1)<0.02 and c/o>1.025 and ref(max(c,o),2)<ref(c,3) and ref(max(c,o),1)<ref(c,3) and o>ref(max(c,o),1) and o>ref(max(c,o),2));drawtext(晨星,l*0.99,'晨星'),coloryellow;夜星:=(ref(o/c,2)<0.97 and abs(ref(c/o,1)-1)<0.015 and o/c>1.025 and ref(min(c,o),1)>ref(c,2) and o<ref(min(c,o),1))or (ref(o/c,3)<0.97 and abs(ref(c/o,1)-1)<0.02 and abs(ref(c/o,2)-1)<0.02 and o/c>1.025 and ref(min(c,o),2)>ref(c,3) and ref(min(c,o),1)>ref(c,3) and o<ref(min(c,o),1) and o<ref(min(c,o),2));drawtext(夜星,h*1.01,'夜星'),colorblue;双鸦:=ref(c/o,2)>1.03 and ref(o/c,1)-1<0.015 and ref(c,1)>ref(c,2) and ref(o,1)>ref(c,2) and o/c>1.025 and o<ref(o,1) and o>ref(c,1) and h<ref(h,1) and c<ref(c,2);drawtext(双鸦,h*1.01,'双鸦'),colorblue;双鸦耀空:=ref(c/o,2)>1.03 and ref(o/c,1)<1.015 and o/c<1.015 and ref(c,1)>ref(c,2) and c>ref(c,2) and c<o and ref(c,1)<ref(o,1);drawtext(双鸦耀空,h*1.01,'双鸦耀空'),colorblue;上肩缺口:=ref(h,1)=ref(hhv(h,20),1) and count(ma(c,10)>ref(ma(c,10),1),13)>10 and ref(c/o,2)>1.03 and ref(c/o,1)>1.02 and ref(l,1)>ref(h,2) and h<ref(h,1) and o<ref(c,1) and l<ref(l,1) and c<ref(o,1) and o/c>1.02 and c>ref(h,2);drawtext(上肩缺口,l*0.99,'上肩缺口'),coloryellow;下肩缺口:=ref(l,1)=ref(llv(l,20),1) and count(ma(c,10)<ref(ma(c,10),1),13)>10 and ref(o/c,2)>1.03 and ref(o/c,1)>1 and ref(h,1)<ref(l,2) and l>ref(l,1) and c>ref(o,1) and h>ref(h,1) and o>ref(c,1) and c/o>1.02 and c<ref(l,2);drawtext(下肩缺口,h*1.01,'下肩缺口'),colorblue;{4根k线组合}上扬三法:=ref(c/o,3)>1.03 and ref(h,2)>ref(h,3) and ref(c,2)<ref(c,3) and ref(o,2)>ref(c,3) and ref(h,1)<ref(h,2) and ref(l,1)<ref(l,2) and h<ref(h,1) and l<ref(l,1) and ref(c,1)<ref(c,2) and c<ref(c,1) and l>ref(o,3) and count(o/c>1.03,3)<2 and count(o/c>1.01,3)>1 and count(c<o,3)=3;drawtext(上扬三法,l*0.99,'上扬三法'),coloryellow;下跌三法:=ref(o/c,3)>1.03 and ref(l,2)<ref(l,3) and ref(c,2)>ref(c,3) and ref(o,2)<ref(c,3) and ref(h,1)>ref(h,2) and ref(l,1)>ref(l,2) and h>ref(h,1) and l>ref(l,1) and ref(c,1)>ref(c,2) and c>ref(c,1) and h<ref(o,3) and count(c/o>1.03,3)<2 and count(c/o>1.01,3)>1 and count(c>o,3)=3;drawtext(下跌三法,h*1.01,'下跌三法'),colorblue;宝塔翻白:=ref(count(c>ref(c,1),3),1)=0 and ref(count(c<o,3),1)=3 and l<ref(l,1) and o<ref(c,1) and h>ref(hhv(h,3),1) and c>ref(hhv(c,3),1);drawtext(宝塔翻白,l*0.99,'宝塔翻白'),coloryellow;宝塔翻黑:=ref(count(c<ref(c,1),3),1)=0 and ref(count(c>o,3),1)=3 and h>ref(h,1) and o>ref(c,1) and l<ref(llv(l,3),1) and c<ref(hhv(o,3),1);drawtext(宝塔翻黑,h*1.01,'宝塔翻黑'),colorblue;{多根k线组合}离黑:=ma(c,13)>ref(ma(c,13),1) and ref(count(hhv(c,10)/llv(o,10)<1.15,10),1)=10 and o/ref(max(c,o),1)>1.01 and c/ref(h,1)>1.05 and h=hhv(h,15) and h/c<1.02;drawtext(离黑,l*0.99,'离黑'),coloryellow;离白:=ma(c,13)<ref(ma(c,13),1) and ref(count(hhv(c,10)/llv(o,10)<1.15,10),1)=10 and o/ref(min(c,o),1)<0.99 and c/ref(l,1)<0.95 and l=llv(l,15) and l/c<1.02;drawtext(离白,h*1.01,'离白'),colorblue;股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的飞狐宝塔翻黑主图指标公式的问题一些解决方案仅供辅助你学习飞狐公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:飞狐宝塔翻黑主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说