以下是通达信量价齐升 红买副图指标公式源码(无源码的请下载附件导入)
量价齐升 红买副图指标 源码 通达信 贴图
GUAS1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUAA1:=SMA(GUAS1,3,1);
GUBB1:=SMA(GUAA1,3,1);
GUAB1:=CROSS(GUAA1,GUBB1);
GUDD1:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUDD2:=EMA(GUDD1,9);
GUAD1:=CROSS(GUDD1,GUDD2);
GUAD3:(GUDD1-GUDD2)*2,COLORSTICK;
GUEE:IF(GUAB1 AND GUAD1,0.8,0),STICK,LINETHICK8,COLORRED;
GUEE1:=C>EMA(C,13);
GUEE2:=EMA(C,13)>REF(EMA(C,13),1);
DRAWTEXT(GUEE AND GUEE1 AND GUEE2,0.8,'←红买'),COLORMAGENTA;
GUAB2:=CROSS(GUBB1,GUAA1);
GUAD2:=CROSS(GUDD2,GUDD1);
GUFF:IF(GUAB2 AND GUAD2,0.8,0),LINETHICK1,COLORLIBLUE;
GUV1:=CROSS(MA(V,5),MA(V,10));
DRAWICON(GUV1 AND GUAD1,0.3,'←量价齐升'),COLORFFFF00;
GUM1:=CROSS(MA(C,5),MA(C,10));
GUVM:IF(GUV1 AND GUM1,0.5,0),STICK,LINETHICK5,COLORYELLOW;
选股公式:红买
GUAS1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUAA1:=SMA(GUAS1,3,1);
GUBB1:=SMA(GUAA1,3,1);
GUAB1:=CROSS(GUAA1,GUBB1);
GUDD1:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUDD2:=EMA(GUDD1,9);
GUAD1:=CROSS(GUDD1,GUDD2);
GUEE:=IF(GUAB1 AND GUAD1,0.8,0);
GUEE1:=C>EMA(C,13);
GUEE2:=EMA(C,13)>REF(EMA(C,13),1);
红买:GUEE AND GUEE1 AND GUEE2;
选股公式:量价齐升
GUDD1:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUDD2:=EMA(GUDD1,9);
GUAD1:=CROSS(GUDD1,GUDD2);
GUV1:=CROSS(MA(V,5),MA(V,10));
量价齐升:GUV1 AND GUAD1;
1824322821.png
|