文章目录:
- 1、通达信主图指标源码,求老师看有没有未来,并帮改成选股和预警公式,谢谢
- 2、寻庄出击(无未来)股票指标-股票公式源码如下:
- 3、请高手把通达信的这条主力资金(开始控盘、控盘、主力出货、主力吸货)指标公式源码改为可以在同花顺上使
通达信主图指标源码,求老师看有没有未来,并帮改成选股和预警公式,谢谢
(1)无未来函数
(2)选股公式如下(买入):
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
CROSS(VAR2,MA(VAR3,6));
寻庄出击(无未来)股票指标-股票公式源码如下:
股神就是以AA为通道下轨 BB为上轨 这个通道叫DD ,是当前股价在这个通道中的相对位置;
股海:用DD再做一个通道,当前的DD在这个通道中的位置;
请高手把通达信的这条主力资金(开始控盘、控盘、主力出货、主力吸货)指标公式源码改为可以在同花顺上使
VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
VAR6:=MA(VAR5,3);
开始控盘:=STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;
VAR1:=EMA(EMA(CLOSE,3),1);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘0,控盘,0,3.5,0),COLORFFAA00;
STICKLINE(控盘0,控盘,0,3.5,2,0,),COLORFF4400;
STICKLINE(控盘0,控盘,0,2.5,0),COLORFF8800;
STICKLINE(控盘0,控盘,0,0,0),COLORFFAA00;
主力出货:0,COLORFFAA00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,3.5,0),COLOR000088;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,2.5,0),COLOR0000AA;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1.5,0),COLOR0000CC;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1,0),COLOR0000EE;
主力吸货:0,COLOR0000FF;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,3.5,0),COLOR008800;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,2.5,0),COLOR00AA00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1.5,0),COLOR00CC00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1,0),COLOR00EE00;
对倒出货洗盘:0,COLOR00FF00;
黄色底部吸货:0,coloryellow;
DRAWTEXT(CROSS(控盘,0),0-3,'买。追'),COLORFF00FF;
DRAWTEXT(CROSS(0,控盘),0-0,'卖'),colorgreen;
{去除了收费专用函数和未来函数部分}
= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),
(控盘,3) AND 控盘0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLI