混沌操作法的AO指标完整版
[通达信] AO:=MA(VAR1, 5) -MA(VAR1, 34) ; NOTEXT:MA(AO,5),COLORBLACK; STICKLINE(AO>REF(AO, 1) , 0, AO, 1, 1) , COLORRED; STICKLINE(AO<=REF(AO, 1) , 0, AO, 1, 1) , COLORLIGREEN; S1:=CROSS(0,AO); {DRAWTEXT(S1,AO-0.2,'S'),COLORLIGREEN;} STICKLINE(S1, 0, AO, 1, 0) , COLORLIGREEN; S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); { DRAWTEXT(S2,AO-0.2,'S'),COLORLIGREEN;} STICKLINE(S2 , 0, AO, 1, 0) , COLORLIGREEN; SCOUNT:=BARSLAST(AO<0); SD:=HHV(AO,SCOUNT); SCOUNTD:=HHVBARS(AO,SCOUNT); S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); S31:=COUNT(S3,SCOUNTD); {DRAWTEXT(S31>=2 AND S3,AO+0.2,'S'),COLORLIGREEN;} STICKLINE(S31>=2 AND S3 , 0, AO, 1, 0) , COLORLIGREEN; B1:=CROSS(AO,0); { DRAWTEXT(B1,AO+0.2,'B'),COLORRED;} STICKLINE(B1 , 0, AO, 1, 0) , COLORRED; B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ; { DRAWTEXT(B2,AO+0.2,'B'),COLORRED;} STICKLINE(B2, 0, AO, 1, 0) , COLORRED; BCOUNT:=BARSLAST(AO>0); BD:=LLV(AO,BCOUNT); BCOUNTD:=LLVBARS(AO,BCOUNT); B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1); B31:=COUNT(B3,BCOUNTD); { DRAWTEXT(B31>=2 AND B3,AO-0.2,'B'),COLORRED;} STICKLINE(B31>=2 AND B3 , 0, AO, 1, 0) , COLORRED; |
附件
推荐主题
楼主 |
2楼 |
3楼 |
4楼 |
5楼 |
6楼 |
7楼 |
8楼 |
9楼 |
10楼 |
11楼 |