试金石指标源码
DRAWGBK(C>0,STRIP(RGB(0,200,210),RGB(100,20,20),0));
WH01:=MA(CLOSE,27)+MA(CLOSE,27)-REF(MA(CLOSE,27),1);
WH02:=IF(MA(CLOSE,27)
等均线:=(MA(C,3)+MA(C,7)+MA(C,17)+MA(C,27))/4;
均线均:=MA(等均线,3);
均线差:=均线均-2*STD(等均线,3);
日均:=MA(C,3);
YC一线:DMA(EMA(等均线,3),C/均线差),LINETHICK0,COLOR00beff;
PARTLINE(YC一线<日均,YC一线),LINETHICK0,Colorred;
FILLRGN(试金石,YC一线,试金石
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:MA(VAR4,5),LINETHICK2,colorFFFFFF;
拉升:HHV(操作,13),LINETHICK2,colorFF8899;
压力:HHV(操作,60),LINETHICK2,color8916FF;
这个指标改自飞狐试金石指标,飞狐试金石指标源码如下
DRAWGBK(C,COLORRGB(0,200,210),COLORRGB(100,20,20),1);
WH01:=MA(CLOSE,27)+MA(CLOSE,27)-REF(MA(CLOSE,27),1),;
WH02:=IF(MA(CLOSE,27)
等均线:=(MA(C,3)+MA(C,7)+MA(C,17)+MA(C,27))/4,;
均线均:=MA(等均线,3);
均线差:=均线均-2*STD(等均线,3);
日均:=MA(C,3);
YC一线:DMA(EMA(等均线,3),C/均线差),LINETHICK0,COLOR00beff;
PARTLINE(YC一线<日均,YC一线),LINETHICK0,Colorbeff;
FILLRGN(试金石
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorCCCC33;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2.4,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.1,0),colorFFFFFF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,9,0),color33CC;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,6,0),colorCC;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.4,0),colorFF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.1,0),colorFF00FF;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),colorCC;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),colorCC;
STICKLINE((OPEN >= CLOSE),CLOSE,LOW,0.5,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),OPEN,HIGH,0.5,0),colorFFFF00;
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:MA(VAR4,5),LINETHICK2,colorFFFFFF;
拉升:HHV(操作,13),LINETHICK2,colorFF8899;
压力:HHV(操作,60),LINETHICK2,color8916FF;