錢龍指標源碼
Ⅰ 錢龍旗艦版寶塔線(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