⑴ 請大家幫忙把大智慧寶塔線源碼改成通達信的;
B1:=REF(C,1);
B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)<0 OR REF(SS,1)>0,REF(SS,1),IF(REF(SS,2)<0 OR REF(SS,1)>0,REF(SS,2),IF(REF(SS,3)<0 OR REF(SS,1)>0,REF(SS,3),IF(REF(SS,5)<0 OR REF(SS,1)>0,REF(SS,5),IF(REF(SS,6)<0 OR REF(SS,1)>0,REF(SS,6),IF(REF(SS,7)<0 OR REF(SS,1)>0,REF(SS,7),0))))));
MC:IF(REF(SS,1)<0 OR REF(SS,1)>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORFF00FF;
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,4,1),COLORRED;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,4,0),COLORFF9000;
STICKLINE(SS=2,B2,C,4,1),COLORRED;
STICKLINE(SS=-2,B2,C,4,0),COLORFF9000;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,4,1),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,4,0),COLORFF9000;
可以通過,但顯示效果不如大智慧
⑵ 炒股軟體怎麼將主圖指標換成寶塔線
股票行情軟體將主圖指標改為寶塔線的方法和步驟為:
1、打開股票行情軟體;
2、在鍵盤輸入要任一的股票代碼,按【ENTER】鍵;
3、單擊滑鼠右鍵,在下拉菜單中選擇【主圖指標】;
4、在【主圖指標】下拉菜單中選擇【寶塔線】並點擊即可。
注意:只要改一次即可,系統會默認修改。
⑶ 想用通達信的寶塔線指標選股,但是沒有寶塔線的公式,有誰有和通達信寶塔線一樣的指標公式嗎
通達信的寶塔線是選擇的確實沒有指標代碼公式,但是可以編寫和通達信一樣走勢的寶塔線指標公式,然後在根據條件選股就可以了.例如下圖編寫的寶塔線指標顯示在幅圖上,主圖顯示通達信的寶塔線,編寫指標與通達信的寶塔線結果完全一樣.
注:主圖通達信寶塔線最前面是少兩根的,幅圖指標是正常顯示的,所以副圖從第二根線開始與主圖進行對比。
⑷ 錢龍旗艦版寶塔線(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
⑸ 閫氳揪淇″疂濉旂嚎鎸囨爣婧愮爜
涓嶅悓鐨勭倰鑲¤蔣浠舵湁寰堝氾紝鍏朵腑榪欓氳揪淇℃槸鏈墊暟鎶曡祫鑰呭湪浣跨敤鐨勶紝鍙﹀栬偂甯備腑涓嶅悓鐨勬寚鏍囦篃鏄鏈変笉灝戠殑錛岄偅涔堥氳揪淇″疂濉旂嚎鎸囨爣婧愮爜濡備綍鍛錛熷疂濉旂嚎鎸囨爣鍙堢О涓篢OWER鎸囨爣錛屾墍浠ュ疂濉旂嚎鎸囨爣瑕佺偣鍒嗘瀽濡備綍錛
瀹濆旂嚎鎸囨爣鍒嗘瀽
瀹濆旂嚎鎸囨爣鏄涓縐嶄笌K綰垮強鐐圭姸鍥劇浉綾諱技騫舵敞閲嶈偂浠峰垎鏋愮殑涓闀挎湡鎶鏈鍒嗘瀽宸ュ叿銆傛槸浠ワ紙鉶氫綋錛屽疄浣擄級鐨勫疄浣撴掔嚎鏉ュ垝鍒嗚偂浠風殑娑ㄨ穼錛屽強鐮斿垽鍏舵定璺岃秼鍔跨殑涓縐嶇嚎璺錛屼篃鏄灝嗗氱┖涔嬮棿鎷兼潃鐨勮繃紼嬩笌鍔涢噺鐨勮漿鍙樿〃鐜板湪鍥句腑錛屽苟涓旀樉紺洪傚綋鐨勪拱榪涙椂鏈猴紝涓庡崠鍑烘椂鏈恆
棣栧厛錛岃繖閫氳揪淇″疂濉旂嚎鎸囨爣婧愮爜鏄錛欰A錛=REF錛圕錛1錛夛紱
HH錛=MAX錛圕錛孉A錛夛紱
LL錛=MIN錛圕錛孉A錛夛紱
ZY錛=REF錛圕錛1錛夛紴REF錛圠L錛1錛夛紱鍀涙槰澶╂敹闃籌綕
ZD錛=REF錛圕錛1錛夛紲REF錛圚H錛1錛夛紱鍀涙槰澶╂敹闃達綕
STICKLINE錛圕錛=AA錛孡L錛孒H錛2.7錛0錛夛紝COLORRED錛
STICKLINE錛圕錛淎A錛孡L錛孒H錛2.7錛0錛夛紝COLOR008000錛
STICKLINE錛歓Y AND C錛=REF錛圓A錛1錛夛紝LL錛孒H錛2.7錛0錛夛紝COLORRED錛
STICKLINE錛圸Y AND C錛=REF錛圓A錛1錛夛紝LL錛孒H錛2.7錛0錛夛紝COLORRED錛
STICKLINE錛圸Y AND C錛淩EF錛圓A錛1錛夛紝HH錛孯EF錛圓A錛1錛夛紝2.7錛0錛夛紝COLORRED錛
STICKLINE錛圸D AND C錛=REF錛圓A錛1錛夛紝LL錛孒H錛2.7錛0錛夛紝COLOR008000錛
STICKLINE錛圸D AND C錛濺EF錛圓A錛1錛夛紝LL錛孯EF錛圓A錛1錛夛紝2.7錛0錛夛紝COLOR008000錛
STICKLINE錛圸D AND C錛濺EF錛圓A錛1錛夛紝REF錛圓A錛1錛夛紝C錛2.7錛0錛夛紝COLORRED錛
MA5錛欵MA錛圕LOSE錛5錛夛紝COLORRED錛
MS5錛欼F錛圡A5錛淩EF錛圡A5錛1錛夛紝MA5錛孌RAWNULL錛夛紝COLORGREEN錛
鑷充簬瀹濆旂嚎鎸囨爣瑕佺偣鍒嗘瀽濡備綍錛1銆佸疂濉旂嚎緲葷孩涔嬪悗錛岃偂浠峰悗甯傛昏佸歡浼鎬竴孌典笂鍗囪屾儏錛2銆佸疂濉旂嚎緲諱箣鍚庯紝鑲′環鍚庡競鎬昏佸歡浼鎬竴孌典笅闄嶈屾儏銆3銆佺洏灞鏃跺疂濉旂嚎鐨勫皬緲葷孩錛屽皬緲婚粦錛屽彲渚濊懼畾鎹熷け鐐規垨鍒╂鼎鐐逛箣澶у皬鑰屽喅瀹氭槸鍚﹁繘鍑恆3銆佺洏灞鎴栭珮妗f椂瀹濆旂嚎闀塊粦鑰屼笅錛屽簲鍗寵幏鍒╀簡緇擄紝灝嗘墜涓鎸佽偂鍗栧嚭錛屽弽涔嬶紝緲葷孩鑰屼笂鍒欐槸浠嬪叆鏃舵満銆
⑹ 甯冩灄瀹濆旂嚎閫夎偂鍏寮
鏈熻揣甯傚満涓錛屽竷鏋楀疂濉旂嚎鏄灞炰簬涓誨姏鎿嶇洏鐨勬椂鍊欏簲鐢ㄧ殑涓欏圭炵樻﹀櫒錛屾墍浠ユ姇璧勮呬竴瀹氳佹繁鍏ヤ簡瑙f竻妤氳繖涓鐩稿叧鍐呭廣備笅闈㈠皬緙栧甫鏉ュ竷鏋楀疂濉旂嚎閫夎偂鍏寮忥紝榪欐槸閫氳揪淇″叕寮忔簮鐮佷粙緇嶃
甯冩灄綰跨殑鎸囨爣涓築OLL錛屾槸紜瀹氳偂浠風殑娉㈠姩鑼冨洿鍙婃湭鏉ヨ蛋鍔跨殑鎶鏈鎸囨爣錛屽綋鑲′環淇¢亾灝變細鍙樼獎鏃訛紝棰勭ず鐫鑲¤偂紲ㄧ殑娉㈠姩鏆傛椂澶勪簬騫抽潤鏈燂紝褰撹偂紲ㄦ嘗鍔ㄨ秴鍑虹嫮紿勭殑鑲′環淇¢亾鐨勪笂杞ㄦ椂錛岄勭ず鐫鑲$エ鐨勫紓甯告縺鐑堢殑鍚戜笂娉㈠姩鍗沖皢寮濮嬶紱褰撹偂紲ㄦ嘗鍔ㄨ秴鍑虹嫮紿勭殑鑲′環淇¢亾鐨勪笅杞ㄦ椂錛岄勭ず鐫鑲′環鐨勫紓甯告縺鐑堢殑鍚戜笅娉㈠姩灝嗗紑濮嬨
瀹濆旂嚎鐨勬寚鏍囦負TOWER鎸囨爣錛屾槸鍒嗘瀽鑲$エ鐨勪腑闀挎湡璧板娍鐨勫伐鍏鳳紝涓鑸鏉ヨ村彧瑕佽偂浠瘋秼鍔挎槸鍚戜笂鐨勶紝瀹濆旂嚎浼氫繚鎸佺櫧鑹詫紙鎴栫孩鑹詫級瀹炰綋鍚戜笂錛岀壒鍒鏄鍦ㄨ窡韙寮哄娍鑲$エ鐨勮秼鍔挎椂錛屽傛灉鑲′環瓚嬪娍鏄鍚戜笂鐨勶紝瀹濆旂嚎浼氫繚鎸侀粦鑹詫紙鎴栫豢鑹詫級瀹炰綋鍚戜笅錛屽畠涓昏佹槸鍒╃敤鏉$嚎棰滆壊鐨勫彉鍖栨潵鍒ゆ柇鑲$エ浠鋒牸鐨勬湭鏉ユ定璺岃秼鍔褲
閫氳揪淇″竷鏋楀疂濉旂嚎涓誨浘鎸囨爣鍏寮
N錛=11錛汳錛=6錛
CV錛=CLOSE錛
BBIBOLL錛氾紙MA錛圕V錛3錛+MA錛圕V錛6錛+MA錛圕V錛12錛+MA錛圕V錛24錛夛級/4錛
UPR錛欱BIBOLL+M*STD錛圔BIBOLL錛孨錛夛紱
DWN錛欱BIBOLL-M*STD錛圔BIBOLL錛孨錛夛紱
B1錛=REF錛圕錛1錛夛紱B2錛=REF錛圕錛2錛夛紱
SS錛=IF錛圕REF錛圕錛1錛 AND REF錛圕錛1錛=REF錛圕錛2錛夛紝1錛孖F錛圕REF錛圕錛1錛 AND REF錛圕錛1錛=REF錛圕錛2錛夛紝-1錛孖F錛圕REF錛圕錛2錛 AND REF錛圕錛2錛塕EF錛圕錛1錛夛紝2錛孖F錛圕REF錛圕錛2錛 AND REF錛圕錛2錛塕EF錛圕錛1錛夛紝-2錛0錛夛級錛夛級錛
SM錛=IF錛圧EF錛圫S錛1錛0 OR REF錛圫S錛1錛0錛孯EF錛圫S錛1錛夛紝IF錛圧EF錛圫S錛2錛0 OR REF錛圫S錛2錛0錛孯EF錛圫S錛2錛夛紝IF錛圧EF錛圫S錛3錛0 OR REF錛圫S錛3錛0錛孯EF錛圫S錛3錛夛紝IF錛圧EF錛圫S錛5錛0 OR REF錛圫S錛5錛0錛孯EF錛圫S錛5錛夛紝IF錛圧EF錛圫S錛6錛0 OR REF錛圫S錛6錛0錛孯EF錛圫S錛6錛夛紝IF錛圧EF錛圫S錛7錛0 OR REF錛圫S錛7錛0錛孯EF錛圫S錛7錛夛紝0錛夛級錛夛級錛夛級錛
TOW1錛=IF錛圕REF錛圕錛 1錛夛紝 C錛孯EF錛圕錛 1錛夛級錛孭OINTDOT錛孋OLORWHITE錛
TOW2錛=IF錛堬紙SS=-1 OR SS=-2錛 AND SM0錛 B2錛孴OW1錛夛紝POINTDOT錛孋OLORWHITE錛
TOWER錛欼F錛圱OW1TOW2錛 TOW1錛孴OW2錛夛紝POINTDOT錛孋OLORWHITE錛
STICKLINE錛圕LOSE=REF錛圕錛1錛夛紝CLOSE錛孯EF錛圕錛1錛夛紝3錛1錛夛紝COLORRED錛
STICKLINE錛圕LOSEREF錛圕錛1錛夛紝CLOSE錛孯EF錛圕錛1錛夛紝3錛0錛夛紝COLORGREEN錛
STICKLINE錛圧EF錛圕錛1錛=REF錛圕錛2錛 AND CLOSEREF錛圕錛1錛夛紝REF錛圕錛1錛夛紝MAX錛圧EF錛圕錛2錛夛紝CLOSE錛夛紝3錛1錛夛紝COLORRED錛
STICKLINE錛圧EF錛圕錛1錛塕EF錛圕錛2錛 AND CLOSE=REF錛圕錛1錛夛紝REF錛圕錛1錛夛紝MIN錛圧EF錛圕錛2錛夛紝CLOSE錛夛紝3錛0錛夛紝COLORGREEN錛
LC錛=REF錛圕錛1錛夛紝NODRAW錛
LC2錛=REF錛圕錛2錛夛紝NODRAW錛
騫沖簳錛=LCLC2C=LC錛孨ODRAW錛
鏀墮槼錛=CO錛孨ODRAW錛
XG錛=騫沖簳AND鏀墮槼錛孨ODRAW錛
DRAWICON錛圶G錛孡C*0.98錛1錛夛紱