A3:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)
REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)
REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)
AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)
ZLZJ:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED,
LINETHICK3;
TTD:=12.88,COLORFF00FF;
A6:=(REF(CROSS(TTD,ZLZJ),2) AND TTD-ZLZJ
获利盘:=SMA(WINNER(AMOUNT/VOL/100)*100,5,1),COLOR0000FF;
速率:=2*(获利盘-REF(获利盘,1))/REF(获利盘,1)*100;
A:=100*V/CAPITAL;
B:=100*(WINNER(C)-REF(WINNER(C),1));
PAS 筹穿率:=2*B/A,COLORCYAN;
叉子:=(INDEXADV-INDEXDEC)/10,COLORLIGRAY;
V11:=MA(C,3)=LLV(MA(C,3),7);
V12:=MA(C,3) MA(C,5);
V13:=MA(V,5) MA(V,10)*0.99;
V14:=COUNT(MA(C,1) REF(C,1),2)=2;
买:=V11 AND V12 AND V13 AND V14;
F4:=MA(CLOSE,20);
F5:=(CLOSE MA(CLOSE,5));
F6:=(MA(CLOSE,5) MA(CLOSE,10));
F7:=(CLOSE MA(CLOSE,10));
F8:=(MA(CLOSE,5) MA(CLOSE,20));
F9:=(CLOSE MA(CLOSE,20));
F10:=REF(F4,1);
F11:=(F4 F10);
AVX:=(((((IF(F5,10,(0-10))+IF(F6,10,(0-10)))+IF(F7,10,(0-10)))
+IF(F8,10,(0-10))) + IF(F9,10,(0-10)))+IF(F11,10,(0-10))),COLOR0000FF;
D1:=EVERY(AVX=-60,2) AND C O AND REF(O C,1);
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,V);
V1:=VVOL/CAPITAL*100;
MAV5:=EMA(VVOL/CAPITAL*100,5);
MAV10:=EMA(VVOL/CAPITAL*100,10);
:=((V1-MAV5)/MAV5*2+(V1-MAV10)/MAV10)*10;
量坑:=(量能 =-10);
(A3 OR A6 OR 量坑 OR D1 OR 买) AND (PAS 筹穿率 REF(PAS 筹穿率,1) OR
速率 REF(速率,1)) AND(叉子 0 AND 叉子 REF(叉子,1));
A4:=MA(CLOSE,20);
A5:=(CLOSE MA(CLOSE,5));
A61:=(MA(CLOSE,5) MA(CLOSE,10));
A7:=(CLOSE MA(CLOSE,10));A8:=(MA(CLOSE,5) MA(CLOSE,20));
A9:=(CLOSE MA(CLOSE,20));A10:=REF(A4,1);
A11:=(A4 A10);
AVX1:=(((((IF(A5,10,(0 - 10)) + IF(A61,10,(0 - 10))) + IF(A7,10,(0 - 10)))
+ IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0-10))),COLOR0000FF;
XG1:=AVX1
(REF(XG1,1)=0 AND XG1=1)*-0.5;
苗子:(REF(AVX1,1)=-40 AND XG1=1)*-1;
N:=34;
TYP:=(2*C+H+L)/4;
HLNT:=(TYP-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
HLN:=SMA(HLNT,20,1),COLORRED;
HLNS:=SMA(HLN,5,1),COLORGREEN;
主升买:(CROSS(HLN,HLNS) AND HLNS 85)*0.5;
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动
买:=IF(CLOSE OPEN,BB*(HIGH-LOW),IF(CLOSE OPEN,BB*((HIGH-OPEN)+(
CLOSE-LOW)),VOL/2));
主买:=主动买/10000;
主动
卖:=IF(CLOSE OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,
0-BB*(HIGH-LOW),0-VOL/2));
主卖:=主动卖/10000;
差额:=主买+主卖;
净流入率:=IF(VOL 0,差额/CAPITAL*10000,0);
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
XD1:=QJ0*(JJ-MIN(CLOSE,OPEN));
XD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);
日净额:=((TD1+XD1)-(TD2+XD2))/10000,NODRAW;
XG:(净流入率 0.03 AND 差额 1 AND 日净额 1000)*-2;
ZDM:=(ACTINVOL-ACTOUTVOL)/VOL*100;
G:(DYNAINFO(17) 1.5 AND DYNAINFO(37) 0.03 AND ZDM 10)*-1.5;
VL:=IF(VOL/CAPITAL 0.01,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
AL:IF(LLV(L,14)=L AND NOT(LLV(CCI,14)=CCI),-2,-3),COLORRED;
{BL:=LLV(L,7)=L AND IF(LLV(CCI,7)=CCI,0,1),COLORRED;
DRAWTEXT(BL,-1.5, 背 ),COLORYELLOW;}
V111:=(C/REF(C,1)-INDEXC/REF(INDEXC,1))*200;
动力:=SUM(V111,0),COLORRED,LINETHICK2;
月 动力:=MA(动力,20),COLORYELLOW ;
动力雷达:=CROSS(动力,月 动力);
探针:IF(AL=-2 AND VL 1,-2.5,-3),COLORYELLOW;
{仪表K线显示仪表盘1=0,1,1}
{=====================================================
=}
范围高A:=REFDATE(HHV(H,120),DATE)*1.05;
范围低A:=REFDATE(LLV(L,120),DATE)*0.95;
MA5:=MA(C,5),COLORCYAN,LINETHICK2;
MA24:=MA(C,24),COLORGREEN,LINETHICK2;
MA72:=MA(C,72),COLORRED,LINETHICK2;
MA200:=IF((MA(C,200) =范围高AANDMA(C,200) =范围低A)OR
C =MA(C,200),MA(C,200),DRAWNULL),COLORBLUE,LINETHICK2;
{=======================仪表盘=========================}
主升浪:=ISLASTBARANDMA5 MA24ANDMA24 MA72AND
MA72 IF(MA200=DRAWNULL,0,MA200);
主浪回调:=ISLASTBARANDMA24 MA5ANDMA5 MA72AND
MA72 IF(MA200=DRAWNULL,0,MA200);
主浪深调:=ISLASTBARANDMA24 MA72ANDMA72 MA5AND
MA5 IF(MA200=DRAWNULL,0,MA200);
初升浪:=ISLASTBARANDIF(MA200=DRAWNULL,300,MA200) MAX(MA24,MA72)AND
MA5 MA24ANDMA24 MA72;
底部反弹:=ISLASTBARANDIF(MA200=DRAWNULL,300,MA200) MA72AND
MA72 MA24ANDMA5 MA24;
探底阶段:=ISLASTBARANDIF(MA200=DRAWNULL,300,MA200) MA72AND
MA72 MA24ANDMA24
观望:=ISLASTBARANDIF(MA200=DRAWNULL,MA24 MA72ANDC MA72,MA72 MA200
ANDC MA200);
有牛:=ISLASTBARANDIF(MA200=DRAWNULL,MA24 MA72AND
C =MA72,MA72 MA200ANDC =MA200);
放弃:=ISLASTBARANDIF(MA200=DRAWNULL,MA24 MA72ANDC MA72,MA72 MA200
ANDC MA200);
DRAWGBK(显示仪表盘1=1AND主升浪=0AND主浪回调=0AND主浪深调=0AND初
升浪=0AND底部反弹=0AND探底阶段=0AND观望=0AND有牛=0AND放弃
=0,0,0,0, 观望 ,0)COLOR00BF00;
DRAWGBK(显示仪表盘1=1AND主升浪,0,0,0, 主升浪 ,0)COLORFF00FF;
DRAWGBK(显示仪表盘1=1AND主浪回调,0,0,0, 主浪回调 ,0)COLORFF8080;
DRAWGBK(显示仪表盘1=1AND主浪深调,0,0,0, 主浪深调 ,0)COLOR009500;
DRAWGBK(显示仪表盘1=1AND初升浪,0,0,0, 初升浪 ,0)COLOR00FFFF;
DRAWGBK(显示仪表盘1=1AND底部反弹,0,0,0, 底部反弹 ,0)COLORFFFF00;
DRAWGBK(显示仪表盘1=1AND探底阶段,0,0,0, 探底阶段 ,0);
DRAWGBK(显示仪表盘1=1AND观望,0,0,0, 观望 ,0)COLORFFFF00;
DRAWGBK(显示仪表盘1=1AND有牛,0,0,0, 有牛 ,0)COLOR00FFFF;
DRAWGBK(显示仪表盘1=1AND放弃,0,0,0, 放弃 ,0)COLOR00BF00;
O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;
O2:EMA(O1,3),COLORFF00FF,LINETHICK1;
O3:EMA(O2,3),COLOR00FF00,LINETHICK1;
MMM:=MA(CLOSE,20);
DRAWTEXT((CLOSE MMM),MMM, * ),COLOR00FF00,LINETHICK5;
DRAWTEXT((CLOSE MMM),MMM, * ),COLOR0000FF,LINETHICK5;
VAR1:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2);
VAR2:=REF(VAR1,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR3:=REF(VAR2,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR4:=REF(VAR3,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR5:=REF(VAR4,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR6:=REF(VAR5,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR7:=REF(VAR6,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR8:=REF(VAR7,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR9:=REF(VAR8,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VARA:=REF(VAR9,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VARB:=REF(VARA,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VARC:=REF(VARB,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VARD:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2);
VARE:=REF(VARD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VARF:=REF(VARE,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR10:=REF(VARF,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR11:=REF(VAR10,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR12:=REF(VAR11,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR13:=REF(VAR12,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR14:=REF(VAR13,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR15:=REF(VAR14,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR16:=REF(VAR15,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR17:=REF(VAR16,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR18:=REF(VAR17,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR
VAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;
VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR
VAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00;
DRAWTEXT(FILTER(VAR19=1,5),LOW, 买进 ),COLORFF00FF;
DRAWICON(FILTER(VAR19=1,5),LOW,9);
DRAWTEXT(FILTER(VAR1A=1,5),HIGH, ),COLOR00FF00;
DRAWICON(FILTER(VAR1A=1,5),HIGH,15);
涨停:=IF(REF(C,1)*1.1-C 0.01,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
A:=REF(C,BARSLAST(C/REF(C,1) 1.095));
IF(REFX(A,1)=AANDBARSLAST(C/REF(C,1) 1.095) 14,A*0.955,DRAWNULL