文章目录:
- 1、缠论箱体指标公式
- 2、求通达信公式高手帮个忙
- 3、通达信神奇九转指标源码?
缠论箱体指标公式
DRAWGBK(close=close, STRIP(RGB(10,190,255),RGB(255,155,155),0));
VarA:=IF(CLOSE150,91.3,0.913);
箱下沿:INTPART(CLOSE/VarA )*VarA,pointdot,linethick3,colorgreen;
箱上沿:箱下沿+VarA,pointdot,linethick3,coloryellow ;
箱中线:(箱下沿+箱上沿)/2,pointdot,colorwhite,linethick3;
走势: SMA(FORCAST(CLOSE,18),6,1),COLOR0066cf,LINETHICK2;
FILLRGN(走势,走势-0.06,走势REF(走势,1) ),COLORff00ff;
var1:=(SMA(HIGH,21,2) * 1.05);
Var2:=IF(C/REF(C,1)1.050 AND V/CAPITAL*10010 AND C17 AND H/C1.01 AND VarA0, 91, 0);
STICKLINE(Var290,L*0.99,L*0.96,5,0),COLORYELLOW;
DRAWTEXT(Var290,LOW*0.98,' 追'),COLORYELLOW;
V1:=EMA(EMA(EMA(C,8),13),55);
V2:=(REF(H,1)+REF(L,1))/2;
V3:=MA(C,20)+2*STD(C,20);
DRAWTEXT(CROSS(V2,V3),HIGH*1.06,'→卖'),COLORblue;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,9,0),color070084;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,8,0),color0000A3;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,7,0),color0000B7;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,6,0),color0000CD;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,5,0),color0000E9;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,3,0),color0754E9;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE OPEN),OPEN,LOW,1,0),color0726CA;
STICKLINE((CLOSE OPEN),CLOSE,HIGH,1,0),color0726CA;
STICKLINE((OPEN CLOSE),CLOSE,LOW,1,0),colorDE9100;
STICKLINE((OPEN CLOSE),OPEN,HIGH,1,0),colorDE9100;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),CLOSE,OPEN,9,0),color0090FF;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),CLOSE,OPEN,8,0),color009FFF;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),CLOSE,OPEN,4,0),color00B5FF;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),CLOSE,OPEN,2,0),color00E4FF;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),OPEN,LOW,0.7,0),color00FFFF;
STICKLINE(((((CLOSE / OPEN) 1.04) AND (CLOSE var1)) AND ((CLOSE - REF(CLOSE,1)) 0)),CLOSE,HIGH,0.7,0),color00FFFF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),OPEN,LOW,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),CLOSE,HIGH,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),CLOSE,OPEN,9,0),colorFF00FF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),CLOSE,OPEN,6,0),colorFF62FF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),CLOSE,OPEN,4,0),colorFF76FF;
STICKLINE(((((CLOSE REF(CLOSE,1)) AND (CLOSE REF(CLOSE,1))) AND (HIGH var1)) AND (CLOSE var1)),CLOSE,OPEN,2,0),colorFFA8FF;
求通达信公式高手帮个忙
你想编写选股公式首先你要提供主图公式代码,再有说清楚选股条件,才能按条件编写公式。
通达信神奇九转指标源码?
通达信的神奇九转指标源码选择公式直接打开指标公式编辑器就可以看到公式源码,该公式没有加密直接就可以看。{买入结构}
B:=CDRAWNUMBER(N=6 AND REFXV(COUNT(B,6),5)=6 AND REF(B,1)=0,L,1),COLORRED;
DRAWNUMBER(N=7 AND REFXV(COUNT(B,7),6)=7 AND REF(B,1)=0,L,1),COLORRED;
DRAWNUMBER(N=8 AND REFXV(COUNT(B,8),7)=8 AND REF(B,1)=0,L,1),COLORRED;
DRAWNUMBER(N=9 AND REFXV(COUNT(B,9),8)=9 AND REF(B,1)=0,L,1),COLORRED;
DRAWNUMBER(N=1 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;
DRAWNUMBER(N=2 AND REFXV(COUNT(B,2),1)=2 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;
DRAWNUMBER(N=3 AND REFXV(COUNT(B,3),2)=3 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;
DRAWNUMBER(N=4 AND REFXV(COUNT(B,4),3)=4 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;
DRAWNUMBER(N=1 AND COUNT(B,7)=7 AND REF(B,7)=0,L,7),COLORRED;
DRAWNUMBER(N=2 AND REFXV(COUNT(B,3),1)=3 AND COUNT(B,7)=7 AND REF(B,7)=0,L,7),COLORRED;
DRAWNUMBER(N=3 AND REFXV(COUNT(B,3),2)=3 AND COUNT(B,7)=7 AND REF(B,7)=0,L,7),COLORRED;
DRAWNUMBER(N=2 AND COUNT(B,8)=8 AND REF(B,8)=0,L,8),COLORRED;
DRAWNUMBER(N=2 AND REFXV(COUNT(B,2),1)=2 AND COUNT(B,8)=8 AND REF(B,8)=0,L,8),COLORRED;
DRAWNUMBER(N=1 AND COUNT(B,9)=9 AND REF(B,9)=0,L,9),COLORGREEN;
{卖出结构}
S:=CREF(C,4);
DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND REF(S,1)=0,H*1.01,1),COLORMAGENTA;
DRAWNUMBER(N=7 AND REFXV(COUNT(S,7),6)=7 AND REF(S,1)=0,H*1.01,1),COLORMAGENTA;
DRAWNUMBER(N=8 AND REFXV(COUNT(S,8),7)=8 AND REF(S,1)=0,H*1.01,1),COLORMAGENTA;
DRAWNUMBER(N=9 AND REFXV(COUNT(S,9),8)=9 AND REF(S,1)=0,H*1.01,1),COLORMAGENTA;
DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.01,2),COLORMAGENTA;
DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.01,2),COLORMAGENTA;
DRAWNUMBER(N=7 AND REFXV(COUNT(S,7),6)=7 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.01,2),COLORMAGENTA;
DRAWNUMBER(N=8 AND REFXV(COUNT(S,8),7)=8 AND COUNT(S,2)=2 AND REF(S,2)=0,H*1.01,2),COLORMAGENTA;
DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.01,3),COLORMAGENTA;
DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.01,3),COLORMAGENTA;
DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.01,3),COLORMAGENTA;
DRAWNUMBER(N=7 AND REFXV(COUNT(S,7),6)=7 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.01,3),COLORMAGENTA;
DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.01,4),COLORMAGENTA;
DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.01,4),COLORMAGENTA;
DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.01,4),COLORMAGENTA;
DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.01,4),COLORMAGENTA;
DRAWNUMBER(N=2 AND REFXV(COUNT(S,2),1)=2 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.01,5),COLORMAGENTA;
DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.01,5),COLORMAGENTA;
DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.01,5),COLORMAGENTA;
DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.01,5),COLORMAGENTA;
DRAWNUMBER(N=1 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.01,6),COLORMAGENTA;
DRAWNUMBER(N=2 AND REFXV(COUNT(S,2),1)=2 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.01,6),COLORMAGENTA;
DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.01,6),COLORMAGENTA;
DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.01,6),COLORMAGENTA;
DRAWNUMBER(N=1 AND COUNT(S,7)=7 AND REF(S,7)=0,H*1.01,7),COLORMAGENTA;
DRAWNUMBER(N=2 AND REFXV(COUNT(S,3),1)=3 AND COUNT(S,7)=7 AND REF(S,7)=0,H*1.01,7),COLORMAGENTA;
),6)=7 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.01,3),COLORMAGENTA;DRAWNUMBER(N=3 AND REFXV(COUNT(S