通达信基础语法date(通达信选股公式源码)
1、通达信公式 date time yeay month eek day 等 这些时间函数怎么用?
a:macd#eek; 代表周线的macd。
2、通达信日期函数
DRAWICON(DATE=1110805,H+0.08,8);
DRAWICON(DATE=1110920,L-0.08,7);
DRAWICON(DATE=1110105,H+0.08,8);
DRAWICON(DATE=1110620,L-0.08,7);
3、请将通达信DATETODAY(DATE)函数 改写成 同花顺的!
你好纠结啊
4、DATE<1590301通达信上是什么意思
通达信软件公式编写
函数DATE是日期的意思。
DATE<1590301
是日期小于29年3月1日。
5、通达信根据指标源码怎样编选股公式
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1)+2SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1),15,1);
VAR10:=100-3SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1)+2SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:(准备 OR 一定要买 OR 庄家异动) AND 钱包;
=======================
{单独出现}
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1)+2SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1),15,1);
VAR10:=100-3SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1)+2SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:准备 OR 一定要买 OR 庄家异动 OR 钱包;
6、求通达信选股公式条件
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
XG:EXIST(CLOSE,10),(CROSS(DEA,DIF))
AND
CROSS
(DIF,DEA);
看不出股票。测试正确。我写的可能有问题。找到原因再给你补充!
7、求通达信条件选股,形态选股,公式
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,30);
T1:=COUNT(C>M4,5)=5 AND LLVBARS(M3,5)-HHVBARS(M3,5)>3 AND HHV(M2,5)/LLV(M2,5)<1.03;
T2:=MAX(MAX(M1,M2),M3)-MIN(MIN(M1,M2),M3)<0.03;
XG:T1=1 AND T2=1;