该指标为弘历指标,指标图形出现“加仓”字样为买入信号,出现“减仓”字样为卖出信号。
AC:=CLOSE;
AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC<=AO,AH,AC,1,0),colorFF8800;
STICKLINE(AC<=AO,AH,AC,0,0),colorFFFF33;
STICKLINE(AC<=AO,AO,AL,1,0),colorFF8800;
STICKLINE(AC<=AO,AO,AL,0,0),colorFFFF33;
STICKLINE(AC<=AO,AC,AO,8,0),colorFF8800;
STICKLINE(AC<=AO,AC,AO,7,0),colorFF9900;
STICKLINE(AC<=AO,AC,AO,6,0),colorFFAA11;
STICKLINE(AC<=AO,AC,AO,5,0),colorFFBB11;
STICKLINE(AC<=AO,AC,AO,4,0),colorFFCC22;
STICKLINE(AC<=AO,AC,AO,3,0),colorFFDD22;
STICKLINE(AC<=AO,AC,AO,2,0),colorFFEE33;
STICKLINE(AC<=AO,AC,AO,1,0),colorFFFF33;
STICKLINE(AC>=AO,AH,AC,1,0),colorFF;
STICKLINE(AC>=AO,AH,AC,0,0),colorCC;
STICKLINE(AC>=AO,AO,AL,1,0),colorFF;
STICKLINE(AC>=AO,AO,AL,0,0),colorCC;
STICKLINE(AC>AO,AC,AO,8,0),colorAA;
STICKLINE(AC>AO,AC,AO,7,0),color11BB;
STICKLINE(AC>AO,AC,AO,6,0),color22CC;
STICKLINE(AC>AO,AC,AO,5,0),color33DD;
STICKLINE(AC>AO,AC,AO,4,0),color44EE;
STICKLINE(AC>AO,AC,AO,3,0),color55FF;
STICKLINE(AC>AO,AC,AO,2,0),color66FF;
STICKLINE(AC>AO,AC,AO,1,0),color77FF;
快线:EMA((CLOSE+LOW)/2,8);
均衡:EMA(EMA((CLOSE+LOW)/2,20),8);
STICKLINE(快线>均衡,快线,均衡,0.1,0),LINETHICK0,colorFF;
DRAWTEXT(CROSS(快线,均衡),HIGH*1.03,'加仓'),colorFF;
STICKLINE(快线<均衡,快线,均衡,0.1,0),LINETHICK0,colorFF00;
DRAWTEXT(CROSS(均衡,快线),LOW*0.98,'减仓'),colorFF00;
强弱:EMA(EMA((LOW+CLOSE+HIGH)/3,25),25),LINETHICK2,color8800;