钱龙指标源码
Ⅰ 钱龙旗舰版宝塔线(TOWER)指标的源代码
【宝塔线】TOWER——指标源码
B0:=REF(c-0,2);B1:=REF(c,1);B2:=REF(c,2);B3:=REF(c,3);B4:=REF(c,4);
CMAX:=MAX(MAX(MAX(c,B1),B2),B3);CMIN:=MIN(MIN(MIN(c,B1),B2),B3);
STICKLINE(c=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND c>=B2 OR
B2=CMAX AND B3=CMIN AND c>=B1 OR B3=CMAX AND c>=B1 AND c>=B2,B1,c,5,1),COLORRED ;
STICKLINE(c=CMAX AND B1=CMIN,B2,c,5,1),COLORRED;
STICKLINE(c=CMIN AND (B1
B2=CMIN AND B3=CMAX AND c
STICKLINE(B1=CMAX AND c=CMIN,B2,c,5,0),colorgreen;
STICKLINE(B1=CMIN AND c>=B2 OR (B2=CMIN AND B1<=B3 OR
B3=CMIN AND B1<=B2) AND B2=B1,B1,B2,5,0),COLORGREEN;
STICKLINE(B1=CMAX AND cB3 OR
B3=CMAX AND B1>B2) AND B2>=B4 AND c
Ⅱ 请把通达信指标转换为钱龙指标
该指标直接粘贴到钱龙软件上是可以通过的,虽然2款软件使用的函数一样,但计算原理不一样,会出现不一样的显示效果,故不建议随意改变。
下面的2幅图是钱龙和通达信测试通过的截图。
通达信测试通过截图---
Ⅲ 谁有钱龙lon指标公式源码
N:=10;
LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : DIFF-DEA;
LONMA : MA(LON,10);
LONT : LON, COLORSTICK;
{钱龙长线}
Ⅳ 钱龙的KDJ源码
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),colorwhite;
D:SMA(K,M2,1),coloryellow;
J:3*K-2*D,colorff00ff