K-line band trading index code

To do a good job in band operation, some auxiliary tools are essential. The following small series to share a K-line band trading index code.

Index formula of basic master map in K-line band
MA5:MA(C,5);
M if you want to deeply analyze the characteristics of black horse stocks, understand the secret of the rise of black horse stocks, and learn to predict the daily black horse stocks, you can add Dr. Song V-X: boyi898 to learn, and you can also get a set of free video courses. Daily stock market analysis, plus V-X official account: Wang also talks about stocks, and then we can understand. 0:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
CBFB:=MA(C,2);
JL:=IF(C>CBFB,V,0);
CL:=IF(C
JLH:=SUM(JL,4);
CLH:=SUM(CL,4);
LHB:=CLH/JLH;
TJ1:=IF(HHV(LHB,5)>4ANDCROSS(2,LHB)ANDC>=O,1,0);
DRAWICON(TJ1,L*0.96,1);
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);
TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=SUM(IF(((HD>0)AND(HD>LD)),HD,0),10);
DMM:=SUM(IF(((LD>0)AND(LD>HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);
AV:=(RSI5+ADX);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
Buy: = (AV + newvol);
DrawText (cross, 0), L * 0.95, 'buy'), colorf00ff;
Drawicon (Cross (buy, 0), L * 0.98,1);
Band hype index formula
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
Phase sales: 3.2, color yellow;
3.5,COLOR0088FF;
Top clearance: 3.5, colorgreen, linehick1;
Power line: = EMA ((close-var2) / (var3-var2) * 4,4);
Stickline (power line > ref (power line, 1), power line, ref (power line, 1), 3, 1), colored; stickline (power line < = ref (power line, 1), power line, ref (power line, 1), 3, 1), color00ff00;
Bottom: 0.2, colored, linehick1;
Attention: 0.5, color yellow;
Drawicon (filter (cross), 20), powerline + 0.02,1);
Drawicon (filter (Cross (power line), 20), power line + 0.02,2);
Drawicon (filter (cross), 20), powerline + 0.02,1);
Drawicon (filter (cross), 20), powerline + 0.02,2);
Drawicon (filter (cross), 20), powerline + 0.02,1);
DrawText (cross), focus, 'buy bottom', colorhit;
        

Was this article helpful?

0 out of 0 found this helpful