您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:大智慧跳空缺口-主图中显示跳空缺口的白线(源码)

大智慧跳空缺口-主图中显示跳空缺口的白线(源码)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-04-04 11:46:00
公式简介:

主图中显示跳空缺口的白线(源码):
MA1:MA(CLOSE,P1);{P1是均线参数,可以自己设}
MA2:MA(CLOSE,P2);
MA3:MA(CLOSE,P3);
MA4:MA(CLOSE,P4);
MA5:MA(CLOSE,P5);
MA6:MA(CLOSE,P6);
Gapup:=low>ref(high,1);
cond1:=llv(low,barslast(Gapup))>=ref(high,barslast(gapup)+1);
cond2:=backset(cond1,3);
cond22:=cond2>ref(cond2,1);
cond222:=llv(low,barslast(cond22))>=ref(high,barslast(cond22));
cond2222:=low<ref(high,barslast(cond22));
stickline(cond222 and barslast(cond22)>=2,LLV(low,barslast(cond22)),ref(high,barslast(cond22)),20,0),colorgray,layer5;
A1:=amount*(bigorder(1,2)-bigorder(2,2))/10000;

A5:=sum(A1,5);
A10:=sum(A1,10);
A20:=sum(A1,20);

drawtextrel(0,40,'今日资金流入:'+numtostrn(A1,1)+'万'),colorwhite;
drawtextrel(0,80,'5日 资金流入:'+numtostrn(A5,1)+'万'),colorgreen;
drawtextrel(0,120,'10日资金流入:'+numtostrn(A10,1)+'万'),coloryellow;
图:
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/13108.html][B]大智慧跳空缺口-主图中显示跳空缺口的白线(源码)[/B][/url]