当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:九转突破组合指标(通达信公式 主图 源码 测试图)
软件名称:[B]九转突破组合指标(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-03-25 00:15:25
软件简介:
九转突破,
组合了几个指标信号。
X_1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
X_2:=X_1*10000/FINANCE(7);
X_3:=AMOUNT/VOL/100;
X_4:=(CLOSE+0.01-REF(CLOSE,1))/REF(CLOSE,1)>=0.1 AND (CLOSE-0.01-REF(CLOSE,1))/REF(CLOSE,1)<=0.1 AND CLOSE=HIGH;
X_5:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*1.1,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1,X_5,MAX(OPEN,CLOSE),(-1),(-1)),COLORGRAY;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_6:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*0.9,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1,X_6,MIN(OPEN,CLOSE),(-1),(-1)),COLORLIBLUE;{ COLORBLUE}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_7:=CONST(BARSLAST(X_2=HHV(X_2,180)));
X_8:=IF(CURRBARSCOUNT<=X_7+1,CONST(REF((CLOSE+OPEN+HIGH+LOW)/4,X_7)),DRAWNULL);
X_9:=X_8;
X_10:=MA(CLOSE,5);
X_11:=MA(CLOSE,6);
X_12:=MA(CLOSE,7);
X_13:=MA(CLOSE,8);
X_14:=MA(CLOSE,9);
X_15:=MA(CLOSE,10);
X_16:=MA(CLOSE,11);
X_17:=MA(CLOSE,12);
X_18:=MA(CLOSE,13);
X_19:=MA(CLOSE,14);
X_20:=MA(CLOSE,15);
X_21:=MA(CLOSE,16);
X_22:=MA(CLOSE,17);
X_23:=MA(CLOSE,18);
X_24:=MA(CLOSE,19);
X_25:=MA(CLOSE,20);
X_26:=MA(CLOSE,21);
X_27:=MA(CLOSE,22);
X_28:=MA(CLOSE,23);
X_29:=MA(CLOSE,24);
X_30:=MA(CLOSE,25);
X_31:=MA(CLOSE,26);
X_32:=MA(CLOSE,27);
X_33:=MA(CLOSE,28);
X_34:=MA(CLOSE,29);
X_35:=MA(CLOSE,30);
X_36:=MA(CLOSE,31);
X_37:=MAX(MAX(MAX(MAX(X_10,X_11),X_12),X_13),X_14);
X_38:=MAX(MAX(MAX(MAX(X_15,X_16),X_17),X_18),X_19);
X_39:=MAX(MAX(MAX(MAX(X_20,X_21),X_22),X_23),X_24);
X_40:=MAX(MAX(MAX(MAX(MAX(X_25,X_26),X_27),X_28),X_29),X_30);
X_41:=MAX(MAX(MAX(MAX(MAX(X_31,X_32),X_33),X_34),X_35),X_36);
X_42:=MAX(MAX(MAX(MAX(X_37,X_38),X_39),X_40),X_41);
X_43:=IF(X_42=X_10,5,IF(X_42=X_11,6,IF(X_42=X_12,7,IF(X_42=X_13,8,IF(X_42=X_14,9,IF(X_42=X_15,10,IF(X_42=X_16,11,IF(X_42=X_17,12,IF(X_42=X_18,13,IF(X_42=X_19,14,IF(X_42=X_20,15,IF(X_42=X_21,16,IF(X_42=X_22,17,IF(X_42=X_23,18,IF(X_42=X_24,19,IF(X_42=X_25,20,IF(X_42=X_26,21,IF(X_42=X_27,22,IF(X_42=X_28,23,IF(X_42=X_29,24,IF(X_42=X_30,25,DRAWNULL)))))))))))))))))))));
X_44:=IF(X_42=MA(CLOSE,X_43),X_43,IF(X_42=X_31,26,IF(X_42=X_32,27,IF(X_42=X_33,28,IF(X_42=X_34,29,IF(X_42=X_35,30,IF(X_42=X_36,31,32)))))));
X_45:=IF(BARSCOUNT(CLOSE)>=31,(X_42*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
变线:=X_45,COLORWHITE,LINETHICK2;
X_46:=X_1=HHV(X_1,X_44);
X_47:=REF(REF(LOW,BARSLAST(X_46)),1);
X_48:=REF(REF(X_3,BARSLAST(X_46)),1);
X_49:=REF(REF(HIGH,BARSLAST(X_46)),1);
X_50:=MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE)=HHV(MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE),X_44);
X_51:=OPEN/CLOSE=HHV(OPEN/CLOSE,X_44) AND CLOSE<OPEN;
X_52:=CLOSE/OPEN=HHV(CLOSE/OPEN,X_44);
STICKLINE(X_51,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_52,OPEN,CLOSE,2,0),COLORRED;
X_53:=X_52 AND X_46;
STICKLINE(X_53,OPEN,CLOSE,2,0),COLORYELLOW;
X_54:=X_51 AND X_1>MA(X_1,X_44) AND CLOSE>变线*1.05 AND X_1>MA(X_1,5) AND CLOSE<OPEN AND CLOSE<REF(CLOSE,1) AND HIGH/变线=HHV(HIGH/变线,5);
STICKLINE(X_54,OPEN,CLOSE,2,0),COLORBLUE;
X_55:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_15,X_10)));
X_56:=REF(LLV(MIN(OPEN,CLOSE),10),BARSLAST(CROSS(X_10,X_15)));
X_57:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_58:=REF(LLV(MIN(CLOSE,OPEN),10),BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))));
X_59:=IF(CLOSE>500,X_57,X_55);
X_60:=IF(CLOSE>500,X_58,X_56);
{}
{}
{DRAWTEXT(ISLASTBAR,X_9,4),COLORYELLOW;}
多空线:X_9,DOTLINE,COLORYELLOW;
{DRAWTEXT(ISLASTBAR,X_9,4),COLORYELLOW;}
DRAWTEXT(ISLASTBAR,多空线,VARCAT(VARCAT('多空:',VAR2STR(多空线,2)),'元')),COLORYELLOW;
A1:=C>REF(C,4);
NT:=BARSLASTCOUNT(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWTEXT(AY>0,H+0.2,VAR2STR(AY,0)),COLORLIBLUE;
DRAWTEXT(NT=9,H+0.2,'9'),COLORGREEN;
BS1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(BS1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWTEXT(AY1>0,H+0.2,VAR2STR(AY1,0)),COLORLIBLUE;
DRAWTEXT(NT0=9,H+0.2,'9'),COLORGREEN;
筹码重心:=IF(CURRBARSCOUNT<INTPART(PPART(4)*100/2),CONST(COSTEX(REF(C,3),REF(C,4)))*1.03,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1,筹码重心,筹码重心,80,-1),COLORLIBLUE;
DRAWTEXT(CURRBARSCOUNT<4 AND CROSS(C,筹码重心) AND C/REF(C,1)>1.03,L+0.6,'↖突破重心买!'),COLORRED;
DRAWTEXT(筹码重心 AND ISLASTBAR,筹码重心,' 筹码重心'),COLORLIBLUE;
N1:=18;
T4:=CONST(LLVBARS(LOW,N1));
T1HIGH:=CONST(REF(HIGH,T4));
CC:=CONST(CURRBARSCOUNT);
T5:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T4)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T5));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T5)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
突破杀入线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK1,COLORYELLOW;
DRAWTEXT(ISLASTBAR, T3HIGH, '---猎击'),LINETHICK1,COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-161441.html]九转突破组合指标(通达信公式 主图 源码 测试图)[/url]