软件名称:[B]DZH主图[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2010-06-02 18:35:00
软件简介:
请问各位大大,怎么给指标指标加密,还有就是加上时间限制,下面是源码,能帮帮我吗?
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
A:EMA(C,10);
K:=MACD>REF(MACD,1) AND A>REF(A,1);
STICKLINE(K AND C>O,H,L,0,0),COLORRED;
STICKLINE(K AND C>O,O,C,3,1),COLORRED;
STICKLINE(K AND C<=O,H,L,0,0),COLORRED;
STICKLINE(K AND C<=O ,O,C,3,0),COLORRED;
STICKLINE(K AND C>O,H,L,0,0),COLORRED;
STICKLINE(K AND C>O,O,C,3,1),COLORRED;
STICKLINE(K AND C<=O ,H,L,0,0),COLORRED;
STICKLINE(K AND C<=O,O,C,3,0),COLORRED;
K1:=MACD<REF(MACD,1) AND A<REF(A,1);
STICKLINE(K1 AND C>O,H,L,0,0),COLORGREEN;
STICKLINE(K1 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(K1 AND C<=O,H,L,0,0),COLORGREEN;
STICKLINE(K1 AND C<=O ,O,C,3,0),COLORGREEN;
STICKLINE(K1 AND C>O,H,L,0,0),COLORGREEN;
STICKLINE(K1 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(K1 AND C<=O ,H,L,0,0),COLORGREEN;
STICKLINE(K1 AND C<=O,O,C,3,0),COLORGREEN;
STICKLINE(NOT(K) AND NOT(K1) AND C>O,H,L,0,0),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C<=O ,O,C,3,0),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C>O,H,L,0,0),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C<=O ,H,L,0,0),COLORCYAN;
STICKLINE(NOT(K) AND NOT(K1) AND C<=O,O,C,3,0),COLORCYAN;
[url=http://www.70822.com/soft/sort013/sort03/down-21100.html]DZH主图[/url]