大智慧不错买卖指标公式

RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

X:=LLV(J,2)=LLV(J,8);

RE:=crOSS(J,REF(J+0.01,1)) AND X AND J<19;

stICKLINE(RE,0,1,3,0),COLORYELLOW;

CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);

HH:=CROSS(20,EMA(CSS,3));

CE:=REF(HH,1);

AA:=REF(CLOSE,1);

BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(Abs(CLOSE-AA),5,1)*1000;

HHH:=BBB-LLV(BBB,10);

SS:=(MA(HHH,2)*3+HHH*13)/16;

短线趋势:IF(SS>13,MA(SS,2),SS)/6,colorf00ff0;

短线买点:IF(CROSS(短线趋势,1) AND (短线趋势<30),50,1),coloryellow,linethick3;

stickline(L>REF(H,1),L,REF(H,1),50,1001),color0000FF;

stickline(REF(L,1)>H,ref(L,1),H,50,1001),color00FF00;

{红买绿卖}

VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2;

A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);

B:zig(3,50/5)*0.01,COLORWHITE;

G:MA(B,2),COLORYELLOW;

买:CROSS(B,G)*80,COLORRED,LINETHICK3;

卖:CROSS(G,B)*80,COLORGREEN,LINETHICK3;

E:=REF(INDEXC,1);

F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);

VAR10:=F AND F<8;

VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR12:=SMA(VAR11,3,1);

VAR13:=SMA(VAR12,3,1);

VAR14:=VAR13 AND VAR13<20;

MM:=A AND 买 AND VAR10 AND VAR14 ;

DRAWTEXT(卖=80,B*500,'卖'),LINETHICK2,COLORGREEN;

DRAWTEXT(买=80,B*500,'买'),LINETHICK2,COLORRED;