改成通达信可用于选股预警
改成通达信可用于选股预警
【股票资源馆】同花顺实时港股破解,同花顺财富主力破解,大智慧财富破解版,通达信财富破解版,通达信专业版破解,通达信研究版破解,通达信超赢版破解,股票公式,股票指标公式,股票公式大全,指南针软件破解,炒股书籍,k线图怎么看,股票k线图,。
编写条件:
编写方法:
网友求助:
请老师帮忙写出下面指标的选股公式。非常感谢!
请分别写出当副图上出现红色圆点选入和“买进”的选股公式。
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
中线:1,COLORBLUE,LINETHICK2;
快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,,LINETHICK1;
慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,LINETHICK1;
DRAWICON(CROSS(快趋势线,中线),快趋势线,1);
DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15);
DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),快趋势线-0.0025,'涨'),COLORRED;
DRAWTEXT(CROSS(快趋势线,中线),快趋势线-0.0055,'买进'),COLORYELLOW;
DRAWICON(CROSS(快趋势线,慢趋势线),慢趋势线,13);
STICKLINE(快趋势线>中线 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,快趋势线,快趋势线+0.0015,1,0),COLORMAGENTA;
DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE;
DRAWICON(CROSS(慢趋势线,快趋势线),慢趋势线,2);
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);
CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
见顶清仓:= STICKLINE(趋势线>=90 AND V12,中线,快趋势线,2,0),COLORCYAN;
DRAWICON(CCC,快趋势线,12);
DRAWICON(BB,快趋势线,23);
DRAWTEXT (BB,快趋势线,'补仓'),COLORLIRED;
请分别写出当副图上出现红色圆点选入和“买进”的选股公式。
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
中线:1,COLORBLUE,LINETHICK2;
快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,,LINETHICK1;
慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,LINETHICK1;
DRAWICON(CROSS(快趋势线,中线),快趋势线,1);
DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15);
DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),快趋势线-0.0025,'涨'),COLORRED;
DRAWTEXT(CROSS(快趋势线,中线),快趋势线-0.0055,'买进'),COLORYELLOW;
DRAWICON(CROSS(快趋势线,慢趋势线),慢趋势线,13);
STICKLINE(快趋势线>中线 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,快趋势线,快趋势线+0.0015,1,0),COLORMAGENTA;
DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE;
DRAWICON(CROSS(慢趋势线,快趋势线),慢趋势线,2);
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);
CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
见顶清仓:= STICKLINE(趋势线>=90 AND V12,中线,快趋势线,2,0),COLORCYAN;
DRAWICON(CCC,快趋势线,12);
DRAWICON(BB,快趋势线,23);
DRAWTEXT (BB,快趋势线,'补仓'),COLORLIRED;
解答如下:
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
快趋势线:=EXPMA((DCLOSE/VB),21);
慢趋势线:=EXPMA((DCLOSE/VB),54);
CROSS(快趋势线,慢趋势线);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
快趋势线:=EXPMA((DCLOSE/VB),21);
慢趋势线:=EXPMA((DCLOSE/VB),54);
CROSS(快趋势线,慢趋势线);
================================
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
快趋势线:=EXPMA((DCLOSE/VB),21);
CROSS(快趋势线,1);
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}股票公式网
解决下图箱体原码
解决下图箱体原码