我的瀑布多条均线: {我的瀑布} NOTEXTPB2:EMA(EMA(EMA(C,2),2),2),COLOR1010FF; NOTEXTPB3:EMA(EMA(EMA(C,3),3),3),COLOR2020FF; NOTEXTPB4:EMA(EMA(EMA(C,4),4),4),COLOR3030FF; PB5:=EMA(EMA(EMA(C,5),5),5); NOTEXTPB5:PB5,COLOR4040FF; NOTEXTPB6:EMA(EMA(EMA(C,6),6),6),COLOR5050FF; NOTEXTPB7:EMA(EMA(EMA(C,7),7),7),COLOR6060FF; NOTEXTPB8:EMA(EMA(EMA(C,8),8),8),COLOR7070FF; PB9:=EMA(EMA(EMA(C,9),9),9); NOTEXTPB9:PB9,COLOR8080FF; NOTEXTPB10:EMA(EMA(EMA(C,10),10),10),COLOR00FF00; NOTEXTPB11:EMA(EMA(EMA(C,11),11),11),COLOR00FF00; NOTEXTPB12:EMA(EMA(EMA(C,12),12),12),COLOR00FF00; PB13:=EMA(EMA(EMA(C,13),13),13); NOTEXTPB13:PB13,COLOR00FF00; NX:=MA(C,100); 牛熊:NX,COLORFFFFFF,LINETHICK2; ZN1:=(PB5-NX)/NX*100; ZN2:=MA(C,13)+MA(C,13)-REF(MA(C,13),1); ZN3:=IF(MA(C,13)<ZN2,ZN2,MA(C,13)); ZN4:=ZN3-(EMA(C,3)-ZN3); ZN5:=PB5>NX AND PB5>PB9 AND PB9>NX AND ZN1<25 AND PB5>REF(PB5,1); ZN6:=IF(ZN5 AND ZN4>PB9,PB9,DRAWNULL); ZN7:=IF(ZN5 AND ZN4>PB5,PB9,DRAWNULL); DRAWBAND(PB5,RGB(250,0,0),ZN6,0); DRAWBAND(PB5,RGB(250,250,0),ZN7,0); DRAWKLINE(H,O,L,C); BS买卖点,公式简单,信号清楚 主图源码: N:=80; M:=3; {操盘手BS买卖} VAR1:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14)))); VAR2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14)))); VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34)); DIR1:=ABS(CLOSE-REF(CLOSE,5)); VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5); ER1:=DIR1/VIR1; CS1:=ER1*(0.8-2/8)+2/8; CQ1:=CS1*CS1; DIR2:=ABS(CLOSE-REF(CLOSE,10)); VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10); ER2:=DIR2/VIR2; CS2:=ER2*(0.8-2/24)+2/24; CQ2:=CS2*CS2; STICKLINE(VAR2 < MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE; STICKLINE(VAR2 > MA(VAR3,6),LOW,HIGH,0,1),COLORRED; STICKLINE(((OPEN>CLOSE)AND(VAR2<MA(VAR3,6))),(CLOSE-0.03),OPEN,3.05,0),COLORLIBLUE; STICKLINE(((OPEN<CLOSE)AND(VAR2<MA(VAR3,6))),CLOSE,OPEN,3.05,1),COLORLIBLUE; STICKLINE(((OPEN>CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,(CLOSE-0.03),3.05,0),COLORRED; STICKLINE(((OPEN<CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,CLOSE,3.05,1),COLORRED; DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.02)),7); DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.02)),8); PT:=REF(H,1)-REF(L,1); CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4; AH:=CDP+PT; AL:=CDP-PT; NH:=CDP*2-REF(L,1); NL:=CDP*2-REF(H,1); 强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW; 阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORBLUE; MM:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL); 撑:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW; 底:IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL)NODRAW; 一阳穿三线(顶尖财经:股票学院 http://www.58188.com): {一阳穿三线 主图} MA2:=EMA(C,2); MA5:EMA(C,5); MA13:EMA(C,13); MA34:EMA(C,34); MA55:EMA(C,55); YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA13),MA34); L1:=MIN(MIN(MA5,MA13),MA34); 一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1); STICKLINE(一阳穿三线,O,C,2,0),COLORYELLOW; DRAWTEXT(一阳穿三线,L-0.1, '一阳穿三线'),COLORGREEN; C3:=REF(C,1); 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORWHITE; 选股公式: MA2:=EMA(C,2); MA5:=EMA(C,5); MA13:=EMA(C,13); MA34:=EMA(C,34); MA55:=EMA(C,55); YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA13),MA34); L1:=MIN(MIN(MA5,MA13),MA34); 一阳穿三线:H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1); |