前三天涨幅之和小于10%大于-5%
前三天涨幅之和小于10%大于-5%
编写条件:
编写方法:
网友求助:
源码如下:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=sMA(RSV,3,1);
D:=sMA(K,3,1);
jx:=cross(k,d);
金叉点:JX,COLOR8866FF,LINETHICK0;
金叉次:=SUM(JX,0);
t1:=SUMBARS(jx,1);
t3:=SUMBARS(jx,3);
t2:=SUMBARS(jx,2);
t4:=SUMBARS(jx,4);
s1:=cross(BACKSET(BARSTATUS=2,t1),0.5);
s3:=cross(BACKSET(BARSTATUS=2,t3),0.5);
s2:=cross(BACKSET(BARSTATUS=2,t2),0.5);
s4:=cross(BACKSET(BARSTATUS=2,t4),0.5);
DRAWLINE(s3,l,s1,l,1);
DRAWLINE(s4,l,s2,l,1);
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK7,COLOR00FFFF;
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK5,COLORFF99FF;
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK2,COLOR0033FF;
DRAWTEXT( s1,L*0.965 , 'A'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s2,L*0.965 , 'B'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s3,L*0.965 , 'C'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s4,L*0.965 , 'D'),COLOR00FFFF,LINETHICK3,ALIGN1;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
JX:=CROSS(K,D);
金叉点:=JX,COLOR8866FF,LINETHICK0;
金叉次:=SUM(JX,0);
T1:=SUMBARS(JX,1);
T3:=SUMBARS(JX,3);
T2:=SUMBARS(JX,2);
T4:=SUMBARS(JX,4);
S1:=CROSS(BACKSET(ISLASTBAR,T1),0.5);
S3:=CROSS(BACKSET(ISLASTBAR,T3),0.5);
S2:=CROSS(BACKSET(ISLASTBAR,T2),0.5);
S4:=CROSS(BACKSET(ISLASTBAR,T4),0.5);
DRAWLINE(S3,L,S1,L,1);
DRAWLINE(S4,L,S2,L,1);
IF(JX,L*0.98,DRAWNULL)CIRCLEDOT,LINETHICK7,COLOR00FFFF;
IF(JX,L*0.98,DRAWNULL)CIRCLEDOT,LINETHICK5,COLORFF99FF;
IF(JX,L*0.98,DRAWNULL)CIRCLEDOT,LINETHICK2,COLOR0033FF;
DRAWTEXT( S1,L*0.965 , 'A'),COLOR00FFFF,LINETHICK3;
DRAWTEXT( S2,L*0.965 , 'B'),COLOR00FFFF,LINETHICK3;
DRAWTEXT( S3,L*0.965 , 'C'),COLOR00FFFF,LINETHICK3;
DRAWTEXT( S4,L*0.965 , 'D'),COLOR00FFFF,LINETHICK3;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】通达信,大智慧,同花顺,飞狐,股票指标公式,股票公式大全,道迪拓金,K线图,k线图经典图解,k线图怎么看,k线图分析,股票k线图,大智慧策略破解版。/p>
将以下指标做两个TDX的预警条件公式
将以下指标做两个TDX的预警条件公式