大智慧长线短作主图买卖提示指标公式
- 指标类别: 大智慧指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 策略
- 画线方法: 主图
- 日期:2022-10-21 来源:互联网
大智慧长线短作主图买卖提示指标公式:
DRAWTEXTREL(300,20,'---------------[长 线 短 作:抓 住 主 升 浪]----------------'),LINETHICK1,Color80BEFF;
DRAWGBKLAst(c>0,STRIP(RGB(0,0,0),RGB(0,130,130),0));
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,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,8,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,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;
ma5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,65);
EA5: EMA(CLOSE,5);
FILLRGN(EA5,MA21,MA21>EA5,RGB(0,255,200),MA21<EA5,RGB(255,190,200)),LAYER7;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
RSV:=(CLOSE-LLV(LOW, 55))/(HHV(HIGH, 55)-LLV(LOW, 55))*100;
K:=SMA(RSV, 13, 1);
D:=SMA(K, 5, 1);
J:=3*K-2*D;
KM3:=EMA(K, 3);
LC:=REF(CLOSE,2);
rsi:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(Abs(CLOSE-LC),7,1)*100;
drawicon(cross(EA5,MA21),L-0.06,7),align1,LINETHICK2,LAYER0;
drawicon(cross(MA21,EA5),H+0.1,8),align1,LINETHICK2,LAYER0;
顶部:IF(CROSS(KM3,J) AND ref(J,1)>80,-100,0),COLORGREEN,linethick0;
DRAWTEXT(顶部,H+H*0.005, '★顶部'),COLORGREEN,linethick1;
减仓:IF(RSI< REF(RSI,1) AND RSI>79,-100,0),colorWHITE,linethick0;
DRAWTEXT(减仓,H+H*0.005 ,'减仓'),colorWHITE,linethick1;
多排:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
整理:=ABS(GX/DX-1)*100<=15;
强势:=COUNT(MacD<0,10)=10;
目标:=IF(多排 AND 整理 AND 强势,5,0);
关注:IF(CROSS(0.1,目标) AND CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK0;
TPX:=MIN(MA65*1.15,MA21*1.13);
加仓:IF(CROSS(C,TPX) AND 整理 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK0;
DRAWTEXT(关注,l-l*0.005,'★关注'),COLOR00FFFF,LAYER0;
DRAWTEXT(加仓,l-l*0.005,'加仓'),COLOR0000FF;
大智慧长线短作主图买卖提示指标公式实例图解:
大智慧长线短作主图买卖提示指标公式