最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 金三角变色线主图指标 (源码)

    正文概述    2024-04-07 21:32:00  
    MA60:MA(C,60);
    PARTLINE(MA20,MA20 REF(MA20,1),RGB(255,0,0),MA20 REF(MA20,1),RGB(0,255,0),1),LINETHICK3;
    SJ1:=(REF(HIGH,3) = HHV(HIGH,((2 * 3) + 1)));
    SJ2:=FILTER(SJ1,3);
    SJ3:=BACKSET(SJ2,(3 + 1));
    SJ4:=FILTER(SJ3,3);
    SJ5:=(REF(LOW,3) = LLV(LOW,((2 * 3) + 1)));
    SJ6:=FILTER(SJ5,3);
    SJ7:=BACKSET(SJ6,(3 + 1));
    SJ8:=FILTER(SJ7,3);
    SJ9:=((REF(LLV(LOW,(2 * 3)),1) + REF(HHV(HIGH,(2 * 3)),1)) / 2);
    SJ10:=((HIGH + LOW) / 2);
    SJ11:=(((SJ4 AND NOT((SJ8 AND (SJ9 = SJ10)))) OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
    SJ12:=(SJ8 AND NOT((SJ4 AND (SJ9 SJ10))));
    SJ13:=(SJ4 AND NOT((SJ8 AND (SJ9 = SJ10))));
    SJ14:=(REF(BARSLAST(SJ11),1) + 1);
    SJ15:=BACKSET((SJ11 AND (COUNT(SJ12,SJ14) 0)),LLVBARS(IF(SJ12,LOW,10000),SJ14));
    SJ16:=(SJ15 REF(SJ15,1));
    SJ17:=BACKSET(SJ16,2);
    SJ18:=(SJ17 REF(SJ17,1));
    SJ19:=((SJ18 OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
    SJ20:=(REF(BARSLAST(SJ19),1) + 1);
    SJ21:=BACKSET((SJ19 AND (COUNT(SJ13,SJ20) 0)),HHVBARS(IF(SJ13,HIGH,0),SJ20));
    SJ22:=(SJ21 REF(SJ21,1));
    SJ23:=BACKSET(SJ22,2);
    SJ24:=(SJ23 REF(SJ23,1));
    SJ25:=BACKSET(BARSTATUS,(BARSLAST(SJ18) + 1));
    SJ26:=(SJ25 REF(SJ25,1));
    SJ27:=BACKSET(BARSTATUS,(BARSLAST(SJ24) + 1));
    SJ28:=(SJ27 REF(SJ27,1));
    底:REF(LOW,BARSLAST(SJ26)),COLORYELLOW,POINTDOT,LINETHICK3;
    頂:REF(HIGH,BARSLAST(SJ28)),COLORYELLOW,POINTDOT,LINETHICK3;
    STICKLINE(SJ26,頂,底,0,0),colorblue,linethick2;
    DRAWLINE(SJ28,HIGH,SJ26,LOW,0),colorblue,linethick2;
    DRAWLINE(SJ28,HIGH,SJ26,頂,0),colorblue,linethick2;
    STICKLINE(SJ28,頂,底,0,0),colorred,linethick2;
    DRAWLINE(SJ26,LOW,SJ28,HIGH,0),colorred,linethick2;
    DRAWLINE(SJ26,LOW,SJ28,底,0),colorred,linethick2;
    紅三角画完出局:DRAWTEXT((BARPOS=BARSTATUS=2),HIGH,' 紅色三角形画完出局'),color0000FF;
    蓝三角画完介入:DRAWTEXT((BARPOS=BARSTATUS=2),HIGH,' 藍色三角形画完介入'),colorblue;
    DRAWTEXT(cross(ma5,ma10),L,'★'),COLORYELLOW;
    {九毛八股票公式指标网 全网优质指标下载平台www.9m8.cn}
    STICKLINE( C =O,C,O,7,0),COLORRED;
    STICKLINE( C O,C,O,7,0),COLORFFFF66 ;
    C2:=REF(C,1);
    涨停:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0);
    STICKLINE(涨停,OPEN,CLOSE,7,0),COLORYELLOW;
    STICKLINE(涨停,H,L,0,0),COLORYELLOW;
    跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
    STICKLINE(跌停,OPEN,CLOSE,7,0),COLORGREEN;
    STICKLINE(跌停,H,L,0,1),COLORGREEN;
    A1:= ★最佳套.买点2
    DRAWTEXT(a1 0,L,'买'),COLORYELLOW;
    a2:= ★最佳套.卖点1
    DRAWTEXT(a2 0,H+0.095,'卖'),COLOR33FF33;
    前高位:REF(C,BARSLAST(a2)),COLOR00FF00,POINTDOT;
    STICKLINE(C,前高位,前高位,8,0),COLORYELLOW;
    前低位:REF(C,BARSLAST(A1)),COLOR00FF00,POINTDOT;
    STICKLINE(C,前低位,前低位,8,0),COLORYELLOW;

    大智慧金三角变色线主图指标公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 金三角变色线主图指标 (源码) 加入收藏