導航:首頁 > 期指持倉 > 股票指標公式CGZ

股票指標公式CGZ

發布時間:2024-10-16 07:26:52

① 誰能幫忙改成選股公式 選出當天出現反轉、火山及火山下面那行紅色柱子信號的股票。謝謝大神

RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K:=EMA(RSV,3);
D:=EMA(K,3);
J:=(3*K-2*D);
火山:IF(J<=0,-J*5,0);
=============
RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K:=EMA(RSV,3);
D:=EMA(K,3);
J:=(3*K-2*D);
KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;
KDJ2:=J>REF(J,1);
反轉:IF(FILTER(KDJ1 AND KDJ2,3),30,0);
=================
RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K:=EMA(RSV,3);
D:=EMA(K,3);
J:=(3*K-2*D);
火山:=IF(J<=0,-J*5,0);
KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;
KDJ2:=J>REF(J,1);
反轉:=IF(FILTER(KDJ1 AND KDJ2,3),30,0);
XG:火山 AND 反轉;

② 鏄庢棩娑ㄥ仠閫夎偂鍏寮

C>=(REF(C,1)11)

鍦ㄨ偂甯備腑鎴戜滑緇忓父鐪嬬殑澶х洏灝辨槸涓涓搴炲ぇ鐨勬暟鎹搴擄紝瀹冧繚瀛樼潃浠庢湁鑲″競浠ユ潵鎵鏈夎偂紲ㄧ殑鏈夌敤鏁版嵁錛屽傛敹鐩樹環銆佹渶楂樹環銆佹渶浣庝環銆佸紑鐩樹環絳夈傝偂姘戣侀夎偂鍙浠ヨ嚜宸辨牴鎹甂綰胯蛋鍔垮幓閫夛紝涔熷彲浠ユ牴鎹鑷宸辯殑瑕佹眰閫氳繃鍑芥暟璁捐″嚭鍏寮忔潵鎵懼埌鑷宸辨墍瑕侀夌殑鑲★紝榪欎釜鍏寮忔垜浠灝卞彨閫夎偂鍏寮忋傚亣濡備綘瑕佹壘鑲′環灝忎簬500鍏冪殑鑲$エ錛岄偅涔堜綘鍙瑕佽句竴涓鍏寮忥細c>500錛涜繖涓灝辨槸綆鍗曠殑閫夎偂鍏寮

綆鍗曟潯浠墮夎偂鍏寮忕紪鍐欑紪鍐欎竴閫夎偂鍏寮忥紝瑕佹眰閫夊嚭鈥滆偂浠峰皬浜庢瘡鑲″噣璧勪駭鈥濈殑涓鑲°傝繘鍏ュ叕寮忕$悊鍣錛屾柊寤轟竴鏉′歡閫夎偂鍏寮忎緷嬈$偣鍑昏彍鍗曗滃姛鑳矯犱笓瀹剁郴緇熋犲叕寮忕$悊鍣ㄢ濓紝榪涘叆鍏寮忕$悊鍣ㄧ晫闈銆

閫夋嫨宸﹁竟鏍戝瀷鍒楄〃涓鏉′歡閫夎偂鍏寮忎笅闈㈢殑鍏跺畠綾誨瀷錛岀偣鍑燴滄柊寤衡

杈撳叆鍏寮忓悕縐幫紝鍏寮忔弿榪

鐐光滄彃鍏ュ嚱鏁扳濓紝閫夋嫨鈥滄敹鐩樹環鈥濓紝鐐瑰嚮鈥滅『瀹氣濓紝瀵瑰簲鐨勫嚱鏁板氨鍒頒簡緙栬緫鍖

鐐瑰嚮鈥滄祴璇曞叕寮忊濓紝鑻ユ樉紺烘祴璇曢氳繃錛岀偣鍑燴滅『瀹氣濇寜閽淇濆瓨鍏寮忋

縐掓潃涓鍒囧栬偂鎸囨爣鍏寮忔簮鐮佹槸浠涔堬紵

鎶婇夎偂鎶鏈瑕佹眰錛屾寜閫昏緫緙栬緫鎴愬叕寮忋傝繖鏄閲忓寲榪囩▼銆

鎶鏈閲忓寲錛屽埄浜庨夎偂錛岃繖絎﹀悎鍖栫畝涓虹箒鐨勫嚭鍙戠偣銆備粠緇忛獙鏉ヨ達紝閲忓寲鏉′歡鏈濂戒笉瑕侊紝鎴栬呭敖閲忎笉瑕佸緩絝嬪湪鏃㈡垚鎸囨爣涓婏紙鐩鍓嶇紪杈戦噺鍖栧叕寮忥紝寰堝規槗鐘鐨勪竴涓閿欙細璇曞浘閫氳繃鐜版湁澶氶」鎸囨爣鐨勬崗鍚堬紝鍔犳潈錛屾潵鎵璋撳炲姞閫夎偂鎴愬姛鐜囷級銆傚洜涓烘寚鏍囨湰韜灝卞叿鏈変竴紼嬪害鐨勫嚭閿欐傜巼銆傚綋浣犳妸鏂扮殑鎶鏈鍙堝緩絝嬪湪涓涓鏄庢樉鍏鋒湁涓嶇『瀹氭т緷鎹涔嬩笂錛岄偅涔堝嚭閿欐傜巼浼氳繘涓姝ュ炲ぇ銆傛墍浠ュ叕寮忕紪杈戱紝灝介噺鑰冭檻鐢ㄥ師濮嬶紝鏇村叿鏍規簮鎬ф妧鏈鐞嗚恆

鑲$エ娑ㄨ穼闄や簡鎶鏈錛岃繕鍖呮嫭錛堝姩鎬侊級鎯呯華銆備篃灝辨槸璇曞浘閫氳繃鍏寮忕殑綺懼寲錛屽噯紜鍖栵紝浣塊夎偂涓姝ュ埌浣嶇殑鎯蟲硶錛屾槸涓嶅彲浠ュ彇鐨勶紒鍏寮忥紝浠嶇劧鍙鑳戒綔涓洪夎偂鐨勭涓姝ャ傚畬鏁寸殑閫夎偂妯″紡錛屽簲璇ユ槸鍥哄寲鐨勬妧鏈錛堟垨鍏寮忥級錛屽啀鍔犱漢涓轟富瑙傚垎鏋愶紝鎵嶈兘絳涢夊嚭錛屾洿鎺ヨ繎紜瀹氭х粨鏋溿

楂樼倰鑲$巼鐨勯夎偂鍏寮忔槸鏈夌殑錛屾垜灝辯紪鍑鴻繃寰堝氾紝浣嗗熀鏈閮芥槸瓚呰穼妯″紡鐨勶紝涓婃定妯″紡鐨勪竴鐩存病鏈夌悊璁轟笂鐨勭獊鐮淬

涓鏄瓚呰穼錛岃秴璺屾潯浠剁浉瀵圭畝鍗曪紝鍙栦笁鍗佹垨鍏鍗佹棩綰匡紝瓚呰穼鐧懼垎涔嬩簩鍗佷簲浠ヤ笂灝卞彲浠ヤ綔涓哄叆閫夌殑鍩烘湰鏉′歡浜嗐

浜屾槸閲忓彉錛岄暱鏈熺緝閲忛厤鍚堢煭鏈熸斁閲忔槸鍩烘湰鏉′歡銆

涓夋槸澶х洏錛屽傛灉澶х洏涓嶈秴璺岋紝鍚勮偂瓚呰穼涓鑸閮芥槸闂棰樿偂錛屽敖閲忎笉瑕佸弬涓庛

鍥涙槸鍩烘湰鏉′歡錛屾瘮濡傛祦閫氱洏錛屼笟緇╃瓑絳夈

灝嗚繖浜涙潯浠墮兘緇勫悎璧鋒潵灝卞彲浠ョ紪鍑轟竴涓涓嶉敊鐨勯夎偂鍏寮忎簡銆

楂樻垚鍔熺巼鐨勯夎偂紼嬪簭鐨勬牴鏈鍦ㄤ簬浣犵殑閫夎偂妯″瀷鐨勬晥鐜囷紝閫夎偂紼嬪簭鍙鏄灝嗛夎偂妯″瀷鐢ㄨ$畻鏈鴻璦琛ㄨ揪鍑烘潵銆

浠ユ垜鐜╃紪紼嬬殑緇忛獙錛屽嚑涔庢病鏈変換浣曢珮鏁堢殑閫夎偂妯″瀷瀛樺湪錛屼篃鍥犳わ紝甯屽唨鐢ㄧ紪紼嬬殑鏂瑰紡鏉ヨВ鍐崇倰鑲′腑鍑虹幇鐨勬墍鏈夐棶棰樼殑鎯蟲硶錛屾槸寰堥毦瀹炵幇鐨勶紙鍑嗙『鍦拌達紝鎴戠帺緙栫▼榪欎箞闀挎椂闂達紝娌℃湁鎵懼埌鑳借В鍐抽棶棰樼殑鏂規硶錛屾垨璁鎬篃鍙鏄鎴戣嚜宸辨剼閽濆惂錛屾垨璁稿彟鏈夐珮浜轟篃鏈鍙鐭ワ級銆

緙栫▼鑳藉甫緇欐垜鐨勫ソ澶勬槸錛

錛1錛夊彲浠ラ氳繃榪愯岄夎偂紼嬪簭錛岄夊嚭褰撳ぉ璧板娍絎﹀悎鎴戠殑鎶鏈瑕佹眰鐨勫叏閮ㄤ釜鑲★紝鎻愰珮浜嗛夎偂鏁堢巼銆傦紙鍦ㄧ粡榪囩瓫閫夌殑鑲℃睜閲岄夎偂鎬繪瘮緲葷湅3000澶氬彧涓鑲℃洿鏈夋晥鐜囷級

錛2錛夐氳繃閫夎偂紼嬪簭鐨勮捐★紝閫夊嚭絎﹀悎鏌愮嶆妧鏈瑕佹眰鐨勪釜鑲★紝騫墮氳繃榪欎簺涓鑲$殑鏁伴噺鐨勫彉鍖栵紝鏉ユ劅鐭ヨ偂甯傜殑瀹為檯娓╁害錛氭瘮濡傛渶榪戱紝鎶鏈涓婏紝5鏈12鏃ワ紝鏄澶х洏鍙嶅脊鐨勭34涓浜ゆ槗鏃ワ紙鏃墮棿紿楀彛錛夋妧鏈涓婁篃鍑虹幇瑙侀《鐨勭壒寰侊紝浣嗘槸騫朵笉鏄寰堢『瀹氳繖閲屽氨鏄楂樼偣銆5鏈14鏃ワ紝鎴戠殑閫夎偂緇撴灉鏄劇ず錛屼釜鑲$殑鐘舵佸紑濮嬫寔緇鎮跺寲涓旀病鏈夊ソ杞鐨勮抗璞★紝鎹姝ゅ垽鏂澶х洏榪涘叆璋冩暣鏃墮棿鍛ㄦ湡錛屽苟鏋滄柇寮濮嬪噺浠撱

錛3錛夌紪紼嬫妧鑳斤紝瀵逛簬鎶鏈媧炬潵璇達紝鍙浠ュ府鍔╁︿範鐐掕偂鎶鏈鐨勪漢鏇村揩銆佹洿鏈夋晥鐜囩殑鐞嗚В鍚勭嶆妧鏈鏂規硶鐨勬晥鐢ㄣ傚﹀埌浠諱綍鎶鏈錛岄兘鍙浠ラ┈涓婄紪涓涓紼嬪簭錛岄夊嚭絎﹀悎榪欎釜鎶鏈瑕佹眰鐨勪釜鑲★紝鐒跺悗瑙傚療鍏惰蛋鍔匡紝楠岃瘉鎵瀛︽妧鏈鐨勬湁鏁堟с傛諱箣錛岀紪紼嬪彲浠ヨ╂垜浠鍙樺緱鏇存湁鏁堢巼錛屼絾鏄鍗存棤娉曡В鍐蟲垜浠鍦ㄧ倰鑲′腑閬囧埌鐨勬墍鏈夐棶棰橈紙楂樹漢瑙佷簡鑾瑕佺瑧璇濇垜鎰氶挐錛屽湪涓嬪湪姝ゆ伃鍊欐偍鐨勮祼鏁欙紝澶氳阿浜嗭紒錛

宸磋彶鐗硅や負鍑璧勪駭鏀剁泭鐜囨渶閲嶈併

涓鑸鍏嶈垂閫夎偂杞浠舵敮鎸佸叏鎺ㄧ殑寰堝皯錛岃佷箞灝辨槸鑺遍挶錛岃佷箞灝辨槸楂樹漢鐮磋В鍚庣殑銆傚叕寮忛夎偂澶у氭暟涓嶅湪鍏ㄦ帹琛屾儏涓嬮夛紝鎴愬姛鐜囦笉鏄寰堥珮錛屽緢姝e父錛佹兂鎻愰珮鎴愬姛鐜囧緩璁閫夊叏鎺ㄨ屾儏閫氳繃鍒嗛挓涓嬫弧瓚蟲煇浜涙寚鏍囩壒寰佹潵閫夛紝鎴愬姛鐜囧緢楂橈紝鍙鏈夊湪澶х洏浣庡紑鍚庝細鏈夌煭鏆傜殑宸寮傦紝濡傛灉閫氳繃鍏寮忔潵鎻愰珮閫夎偂鏁堢巼榪樻槸涓嶉敊鐨勶紒鐔熺粌浠ュ悗錛屽熀鏈涓婂氨涓嶄細鐢ㄥ叕寮忎簡錛岃繕鏄瑁呭湪鑴戣嬮噷鏉ョ殑蹇錛

涓夊ぉ涓夌偣鎴愬姛鐜囧埌85%榪欎釜綆椾笉綆楅珮錛屾寚鏍囪繕娌℃湭鏉ュ嚱鏁

姝㈡崯10%錛屾㈢泩20%錛屼粠2000騫1鏈堣嚦浠婂湪閫氳揪淇℃㈡祴璇曟垚鍔熺巼80%浠ヤ笂錛岃兘鐢ㄤ簬瀹炴垬鍚楋紵

褰㈡佽蛋鍔塊噺鍖>閲忓寲鍚庢傜巼緙栬緫>鍚堝苟紼嬪簭鍖栥傚簲鐢ㄤ簬_棰勮︽垨鑰呯嫭絝嬮夎偂_銆傝繖灝辨槸鎵璋撶殑閫夎偂鍏寮忥紝鍏朵腑鏈閲嶈佺殑姒傜巼緙栬緫榪欎竴姝ワ紝褰撶劧鍓嶆彁鏄瑕佹湁綺懼噯鐨勯噺鍖栨暟鎹銆

鍧囩嚎鍔燢綰垮姞閲忚兘鑳界湅宀鐐硅嫍澶寸殑

  鍧囩嚎綺樺悎鍚戜笂鍙戞暎紿佺牬閫夎偂   鏆村埄濡栬偂紿佺牬閫夎偂   娑ㄥ仠榛戦┈鐗涜偂閫夎偂   澶ц祫閲戣繘鍦洪夎偂 

娑ㄥ仠鍚庢í鐩樻暣鐞嗙殑閫夎偂鍏寮忥紵

濡備笅錛

{鐧懼簳鍏寮1}

{AB:=EMA(((2C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))100,8);

BA:=EMA(AB,5);

欏1:=REFDATE(REF(HHV(H,100),5),DATE);

搴1:=REFDATE(REF(LLV(L,100),5),DATE);

涓1:=((欏1)+(搴1))/2;

欏:IF(AB>0 AND AB-BA=0,欏1,欏1),COLOR00FF00;

涓:IF(AB>0 AND AB-BA=0,涓1,涓1),COLORWHITE;

搴:IF(AB>0 AND AB-BA=0,搴1,搴1),COLORYELLOW;

DRAWTEXT(ISLASTBAR,(欏),STRCAT('',CON2STR(欏,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(涓),STRCAT('',CON2STR(涓,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(搴),STRCAT('',CON2STR(搴,2))),COLORWHITE;

{鐧懼簳鍏寮2}

N:100 NODRAW ;

楂:IF(CURRBARSCOUNT=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ;

浣:IF(CURRBARSCOUNT=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW;

NOTEXT涓:浣+(楂-浣)/2 COLORWHITE;

{娑ㄥ箙:(C-浣)/浣100 NODRAW COLORFF00FF;}

娑ㄥ箙:((C-浣)/(楂-浣))100 NODRAW COLORFF00FF;

娑ㄥぉ鏁:LLVBARS(L,100)COLORWHITE NODRAW;

{璺屽箙:((C-楂)/楂)100 NODRAW COLORD9D919;};

璺屽箙:((C-楂)/(楂-浣))100 NODRAW COLORD9D919;

璺屽ぉ鏁:HHVBARS(H,100)COLORWHITE NODRAW;

DRAWTEXT(ISLASTBAR,(楂-(楂-浣)/50),STRCAT('',CON2STR(楂-(楂-浣)/50,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(NOTEXT涓),STRCAT('',CON2STR(NOTEXT涓,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(浣),STRCAT('',CON2STR(浣,2))),COLORWHITE;

MA5:MA(C,5),COLORYELLOW;

NOTEXT5:IF((C=MA5 OR MA5=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00;

鎸騫:((楂-浣)/浣)100 NODRAW COLORGREEN;

鍧囧懆鏈:INBLOCK('鍧囧懆')AND INBLOCK('鍧囨湀') COLORWHITE NODRAW;

閫冨懆鏈:INBLOCK('閫冨懆')AND INBLOCK('閫冩湀')NODRAW COLORYELLOW;

{VAR6:=REF(C,1);

VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)100;

DRAWTEXT(CROSS(82,VAR7),H101,'楂樻姏'),COLORFFFFFF;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1))100),5);

AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1))50),13);

AB:=CROSS(AK1,AK);

DRAWTEXT((AB = 1),(LOW099),'浣庡惛'),COLORYELLOW;};

{鐧懼簳璺:=((C-浣)/浣)100;

XG1:=BETWEEN(C,浣,浣(1+003));

鐩樻暣澶:BARSLASTCOUNT(XG1)NODRAW COLORYELLOW;}

{涓婃定鍊:=MA((H+REF(L,1))/2,3);

涔拌繘楂樼偣:=MA((H+REF(H,1))/2,3);

VAR1:=((O+H+L+2C)/5)2-L;

紿佺牬涔板叆鍊:=MA(VAR1,3);{LSS杞寸偣紿佺牬涔板叆鍊紏

{涓嬭穼鍊:=MA((REF(H,1)+L)/2,3);

鍗栧嚭浣庣偣:=MA((REF(L,1)+L)/2,3);

VAR2:=((O+H+L+2C)/5)2-H;

紿佺牬鍗栧嚭鍊:=MA(VAR2,3);

嬈℃棩鍗栧嚭鐐:=(涓婃定鍊+涔拌繘楂樼偣+紿佺牬涔板叆鍊+H)/4;

嬈℃棩涔板叆鐐:=(涓嬭穼鍊+鍗栧嚭浣庣偣+紿佺牬鍗栧嚭鍊+L)/4;

鍧囦環:=(2C+L+H/4);

涔板叆浠:IF(鍧囦環/REF(鍧囦環,1)>1,嬈℃棩涔板叆鐐101,嬈℃棩涔板叆鐐)COLORWHITE NODRAW;

嬈′綆浠:IF(鍧囦環/REF(鍧囦環,1)>1,嬈℃棩涔板叆鐐/10382,嬈℃棩涔板叆鐐)NODRAW COLORYELLOW;

鍗栧嚭浠:IF(鍧囦環/REF(鍧囦環,1)>1,嬈℃棩鍗栧嚭鐐10191,嬈℃棩鍗栧嚭鐐)NODRAW;

蹇呭崠浠:IF(鍧囦環/REF(鍧囦環,1)>1,嬈℃棩鍗栧嚭鐐105,嬈℃棩鍗栧嚭鐐)COLORD9D919 NODRAW;}

{AC:=REF(C,1);

娑ㄥ仠K綰:=IF((C-AC)100/AC>=(10-001100/AC),1,0);

璺屽仠K綰:=IF((AC-C)100/AC>=(10-001100/AC),1,0);

STICKLINE(娑ㄥ仠K綰,OPEN,CLOSE,25,0),COLORYELLOW;

STICKLINE(璺屽仠K綰,OPEN,CLOSE,25,0),COLORED9564;}

{娑ㄥ仠棰滆壊綺夎壊錛屽畬緹庡尯鍒20%5%錛屽壋涓氭澘20200823鍓10%鐓ф牱鍙樿壊}

BK:=IF(INBLOCK('縐戝壋鏉'),02,IF(INBLOCK('鍒涗笟鏉'),02,IF(INBLOCK('ST鏉垮潡'),005,01)));

XA_1:=IF(DATE=1200823,1,0);

STICKLINE((C>=ZTPRICE(REF(CLOSE,1),01) AND C=H) AND XA_1=1,O,C,3,0),COLORYELLOW;

STICKLINE((C=DTPRICE(REF(CLOSE,1),01) AND C=L) AND XA_1=1,O,C,3,0),COLORED9564;

STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,3,0),COLORYELLOW;

STICKLINE((C=DTPRICE(REF(C,1),BK) AND C=L),C,O,3,0),COLORED9564;

{STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C=ZTPRICE(REF(CLOSE,1),01) AND C

{STICKLINE((L=DTPRICE(REF(C,1),BK) AND C>L) OR (L=DTPRICE(REF(CLOSE,1),01) AND C>L AND XA_1=1),L,MIN(C,O),01,0),COLORED9564;{璺屽仠鍚庡洖鍗噠

{Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;}

{DRAWTEXT_FIX(1,000,000,0,'涓婚樻姇璧勶細')COLORYELLOW;

DRAWTEXT_FIX(1,006,000,0,EXTERNSTR(0,1))COLORYELLOW;

DRAWTEXT_FIX(1,000,006,0,'涓昏惀涓氬姟錛')COLORWHITE;

DRAWTEXT_FIX(1,006,006,0,EXTERNSTR(0,2))COLORWHITE;

DRAWTEXT_FIX(1,000,012,0,'鍏鍙鎬寒鐐癸細')COLORYELLOW;

DRAWTEXT_FIX(1,006,012,0,EXTERNSTR(0,3))COLORYELLOW; }

{嫻侀氬競鍊:(FINANCE(40)/100000000),NODRAW,COLORRED;}

{娑ㄥ仠緇熻}

{娑ㄥ仠:=CLOSE/REF(CLOSE,1)>=1095;

ZTCS:=COUNT(娑ㄥ仠,BARSSINCE(娑ㄥ仠)+1);}

{DRAWNUMBER(娑ㄥ仠,HIGH104,ZTCS),COLORYELLOW;}

{GZT1:=STRCAT('銆鍏辨定鍋: ',CON2STR(ZTCS,0));

GZT2:=STRCAT(GZT1,'嬈');

SSTS1:=STRCAT('銆涓婂競: ',CON2STR(FINANCE(42),0));

SSTS2:=STRCAT(SSTS1,'澶');

NTZZT1:=STRCAT('銆璺濅粖:',CON2STR(CONST(BARSLAST(娑ㄥ仠)),0));

NTZZT2:=STRCAT(NTZZT1,'澶╂湁娑ㄥ仠');

ZTTJ1:=STRCAT(SSTS2,GZT2);

ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);

ZTTJ:=STRCAT('娑ㄥ仠緇熻:',ZTTJ2);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0,018,0,ZTTJ),COLORWHITE;}銆

棣栧厛鐢蟲槑涓涓嬶紝涓嶈佸敮鍏寮忔槸浠庛傛墍璋撶殑鍏寮忥紝涓嶈繃鏄鎶婁漢璁懼畾鐨勬潯浠墮噺鍖栧湴琛ㄨ揪鍑烘潵錛屽苟鐢ㄥ畠鏇村揩鏇存柟渚垮湴閫夊嚭婊¤凍鏉′歡鐨勮偂紲ㄣ

鑷充簬閫夊嚭鐨勮偂紲錛屾槸娑ㄦ槸璺岋紝璺熷叕寮忔病鏈夊崐姣涢挶鍏崇郴鈥斺旀簮澶磋繕鏄浜鴻懼畾鐨勬潯浠躲

浠婂ぉ鍒嗕韓鐨勮繖鍑犱釜鍏寮忥紝涓嶆槸鏁欎綘閫変粈涔堣偂錛岃屾槸鍛婅瘔浣犲備綍蹇閫熼夊嚭婊¤凍鏌愪簺緇熻℃潯浠剁殑鑲$エ銆

涓銆丮ACD浜屾$炕綰

MACD絎涓嬈″嚭鐜扮孩鏌卞悗,鐢遍愭笎鏀懼ぇ鍒伴愭笎緙╁皬,緙╁皬鍒扮豢鏌辮繕娌″嚭鐜版椂,綰㈡熅鍙堝紑濮嬪嚭鐜板苟涓旈愭笎鏀懼ぇ,灝辨槸MACD榪炵畫浜屾℃垨浜屾′互涓婂嚭鐜扮孩鏌(緇忓父鍑虹幇寮哄娍鑲!鑻ュ潎綰垮艦鎴愬氬ご鎺掑垪,鎴愪氦閲忔斁澶,澶у箙涓婂崌鐨勬傜巼鏇村ぇ,鏈夊ソ鍑犱綅鏈嬪弸閮借村熷姪MACD浜屾$炕綰㈡崟鎹夊埌娑ㄥ仠鏉)

浜屻侀粦椹鑽変笂椋

鍥懼艦鐗瑰緛:

1銆60鏃ヤ環鏍煎鉤鍧囩嚎紼蟲ヤ笂鎵,鍛堜竴鏉℃枩綰褲

2銆佹棩K綰挎寜鐓60鏃ュ潎綰跨殑鏂滅巼闇囪崱鍚戜笂,榪滅湅鍍忎竴鐗囪崏鍘熴

3銆佺粡榪囧ぇ綰﹀崐騫寸殑闇囪崱鍚戜笂鍚,緇堜簬鍚戜笂紿佺牬鍘熸湁涓婂崌閫氶亾,榪涘叆椋炴壃闃舵點

4銆佹垚浜ら噺闆嗕腑鍦ㄥd環鎵樻垨鐭闀跨粨鍚堢殑浠鋒墭涔嬩笅,鍦ㄨ偂浠烽炴壃鍓嶅悗騫舵湭鏈夋槑鏄劇殑鏀鵑噺銆

鎿嶄綔鏂規硶:

1銆佸湪浠鋒墭褰㈡垚鍚庣殑鍥炴。浠嬪叆銆

2銆佸湪鑲′環鍙嶅嶉渿鑽$殑搴曢儴鍚哥撼銆

3銆佹渶鑺傜害鏃墮棿鍜屾渶澶у埄娑︾殑鍔炴硶鏄鍦ㄨ偂浠烽炴壃鍓嶈繀閫熶粙鍏ャ

涓夈佸嚭姘磋姍钃

鍑烘按鑺欒搲鏄闈炲父鍏稿瀷鐨勫ぇ鐗涜偂鍚鍔ㄥ艦鎬佷箣涓,鏃犺烘槸鍦ㄩ暱鏈熼渿鑽$洏鏁翠綆浣嶅尯鍩熻繕鏄鐗涜偂涓婂崌閫斾腑,璇ュ艦鎬佸嚭鐜版剰鍛崇潃涓誨姏寮濮嬫柊涓杞寰佺▼,鐗涜偂鐙傛㈠皢鍐嶄竴嬈℃媺寮搴忓箷銆傚艦鎬佷笂,涓鑲″湪妯鐩樻暣鐞嗘垨涓嬭穼榪囩▼涓,鏌愬ぉ涓鏍歸暱闃崇獊鐮翠簡鐭鏈熷潎綰跨郴緇,蹇呴』瑕佹湁杈冨ぇ鎴愪氦閲忔潵閰嶅悎銆傝繖灝辨槸鍑烘按鑺欒搲鐨勫熀鏈鐗瑰緛銆

妗堜緥:

鍥涖佸潎綰塊夎偂鎴樻硶

鍧囩嚎澶氬ご鎺掑垪

甯傚満瓚嬪娍澶勪簬寮哄娍涓婂崌瓚嬪娍,鍧囩嚎鍚戜笂鍙戞暎銆侻A5>MA10>MA30銆傚綋鍑虹幇澶氬ご鎺掑垪灝辮〃鏄庣幇鍦ㄦ寔鏈夎繖涓鑲$エ鐨勪漢鍑犱箮閮芥槸鑾峰埄鐨勩傛搷浣滄濈淮涓哄氬ご鎬濈淮銆

浜斻佸竷鏋楀甫閫夎偂鎴樻硶

甯冩灄甯︽敹鍙+鑲′環涓婄┛涓杞ㄩ夎偂鍏寮:

(涓轟簡鐗堥潰緹庤,鍙鎴鍥捐叉槑)

絎﹀悎閫夎偂妗堜緥:

鍙﹀栵紝緇欏ぇ瀹剁畝鍗曠殑璁蹭竴涓嬪仛鑲$エ鐨勬g『鐞嗗康

絎涓錛屾妸鑷宸變拱鍏ヨ偂紲ㄧ殑鎴愭湰褰撴垚鎿嶄綔鐨勪緷鎹鐨勪漢錛屾槸娌℃湁鍏ラ棬鐨

絎浜岋紝浣犱拱鍏ヨ偂紲ㄦ椂鍊欙紝瑕佺爺絀朵紒涓氱殑鍩烘湰闈㈠拰鍙戝睍鍓嶆櫙錛屾垚闀挎э紝榪欎釜鏄閫夎偂鐨勭悊鐢憋紝浣嗘槸涓嶄綔涓烘搷浣滀緷鎹

絎涓夛紝浣犳搷浣滅殑鍞涓渚濇嵁錛屼竴瀹氭槸鎶鏈闈㈠拰璧勯噾嫻佸悜錛屾瘡嬈¤繘鍦哄墠錛岄兘瑕佽懼畾濂藉叧閿鐨勬妧鏈浣嶇疆錛岄偅涓浣嶇疆紿佺牬鍔犱粨錛岄偅涓浣嶇疆璺岀牬灝辨㈡崯

絎鍥涳紝鐑鐐規澘鍧楀嚭鐜幫紝涓瀹氳佽窡錛岃佽拷闅

絎浜旓紝鐑鐐規澘鍧楅噷闈錛屼竴瀹氳佸仛榫欏ご鑲$エ錛屼笉瑕佹媴蹇冩定鐨勫お澶

絎鍏錛屽摢涓鏄榫欏ご錛屾庝箞鍒ゆ柇錛屽緢綆鍗曪紝榪欎釜鐑鐐瑰紑濮嬪惎鍔錛岀涓鏀娑ㄥ仠鐨勶紝灝辨槸榫欏ご

絎涓冿紝鍋氳偂紲錛岃佹暍浜庡垽鏂鍑虹儹鐐歸樻潗琛屾儏錛屽ぇ鑳嗚拷闅忥紝閭d箞鎬庝箞鍒ゆ柇涓涓鐑鐐歸樻潗鐨勮屾儏鍛錛

鐐掕偂涓夊ぇ鍘熷垯錛氬ぇ浜嬩歡錛屽ぇ棰樻潗錛屽ぇ璧勯噾

通達信實際換手率副圖公式

實際換手率=成交量(股)/自由流通股本(股)*100%,轉化成通達信公式:trueHSL:=VOL*100*100/FINANCE(46)。換手率也稱「周轉率」,指在一定時間內市場中股票轉手買賣的頻率,是反映股票流通性強弱的指標之一。以樣本總體的性質不同有不同的指標類型,如交易所所有上市股票的總換手率、基於某單個股票發行數量的換手率、基於某機構持有組合的換手率。
在技術分析的諸多工具中,換手率指標是反映市場交投活躍程度最重要的技術指標之一。通達信換手率戰法指標公式:正能量:VOL,VOLSTICK,COLORRED;負能量:-VOL,VOLSTICK,COLORCYAN;年換手:SUM(VOL,YEAR)*100/CAPITAL,NODRAW;月換手:SUM(VOL,MONTH)*100/CAPITAL,NODRAW;周換手:SUM(VOL,WEEKDAY)*100/CAPITAL,NODRAW;日換手:IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100),NODRAW;多頭換手:SUM(ACTINVOL,1)*100/CAPITAL,NODRAW,COLORYELLOW;空頭換手:SUM(ACTOUTVOL,1)*100/CAPITAL,NODRAW,COLORGREEN;五十換手:SUM(VOL,50)*100/CAPITAL,NODRAW;百日換手:SUM(VOL,100)*100/CAPITAL,NODRAW;DA:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');AA2:=STRCAT(CON2STR(MONTH,0),'月');
AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('【',IF(WEEKDAY=1,'星期一',IF(WEEKDAY=2,'星期二',IF(WEEKDAY=3,'星期三',IF(WEEKDAY=4,'星期四',IF(WEEKDAY=5,'星期五',IF(WEEKDAY=6,'星期六','星期日')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'】');DRAWTEXT_FIX(DA,0.88,0.991,0,AA),COLORWHITE;SAT:=(DVOL/DCLOSE)/(HHV(DVOL,20)/HHV(DCLOSE,20));當期量能飽和:=(IF(SAT>1,1,SAT)*100);DRAWTEXT_FIX(1,0.991,0.001,1,STRCAT(STRCAT('當期量能飽和:',CON2STR(當期量能飽和,2)),'%')),COLORRED;DRAWTEXT_FIX(ISLASTBAR=1,0.0100,0,0,STKNAME), COLOR0000FF;DRAWTEXT_FIX(ISLASTBAR=1,0.0880,0,0,CODE),COLORWHITE;ASDF:=STRCAT(STRCAT('當前獲利盤比例: ',CON2STR(WINNER(CLOSE)*100,2)),'%');DRAWTEXT_FIX(ISLASTBAR,0.300,0.010,0,ASDF),COLORWHITE;LC:=REF(CLOSE,1);WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;活躍:=(WRSI-WR10);活躍度比:=IF(活躍>=0,(活躍+100)/2,100-ABS((活躍-100)/2))DRAWTEXT_FIX(1,0.707,0.01,1,STRCAT(STRCAT('活躍度比:',CON2STR(活躍度比,2)),'%')),COLORCYAN;毛利比率:=(HHV(H,0)-LLV(L,0))/LLV(L,0)*100*0.44,NODRAW,COLORYELLOW;DRAWTEXT_FIX(1,0.82800,0.01,1,STRCAT(STRCAT('毛利比率:',CON2STR(毛利比率,2)),'%')),COLORYELLOW;A111:=FINANCE(42);A211:=DATETODAY(CONST(DATE));A311:=A211-A111;XDATE:=DAYTODATE(A311)+19000000;上市日期:=STRCAT(' 上市日期: ',CON2STR(XDATE,0));DRAWTEXT_FIX(ISLASTBAR,0.45,0,0,上市日期),COLORMAGENTA;SSTS1:=STRCAT('上市',CON2STR(FINANCE(42),0));SSTS2:=STRCAT(SSTS1,'天');SSTS3:=STRCAT('累計交易:',CON2STR(TOTALBARSCOUNT,0));SSTS4:=STRCAT(SSTS3,'周期');DRAWTEXT_FIX(CURRBARSCOUNT=1,0.168,0.001,0,SSTS4),COLORLIMAGENTA;{漲停統計}W11:=EMA(C,1);漲停:=W11/REF(W11,1)>=1.095;ZTCS:=COUNT(漲停,BARSSINCE(漲停)+1);NTZZT1:=STRCAT(' 距今',CON2STR(CONST(BARSLAST(漲停)),0));NTZZT2:=STRCAT(NTZZT1,'天有漲停');GZT1:=STRCAT(' 共漲停',CON2STR(ZTCS0));GZT2:=STRCAT(GZT1,'次');ZTTJ1:=STRCAT(SSTS2,GZT2);ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);ZTTJ:=STRCAT('【漲停統計】',ZTTJ2);DRAWTEXT_FIX(CURRBARSCOUNT=1,0.618,0.99,0,ZTTJ),COLORCYAN;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,FGBLOCK);Z3:=STRCAT(Z2,DYBLOCK);Z4:=STRCAT(Z3,' ');HSL11:=V/CAPITAL*100;DRAWNUMBER(CURRBARSCOUNT=1 AND HSL11,L,HSL11),COLOR00FFFF;DRAWTEXT_FIX(ISLASTBAR,0.00,0.991,0,STRCAT(Z4,GNBLOCK)),COLORGREEN;DRAWTEXT_FIX(1,0.500,0.991,0,STRCAT('【自定板塊】:',ZDBLOCK)),COLORYELLOW;

④ 秒殺一切妖股指標公式源碼是什麼

如下:

{百底公式1}

{AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);

BA:=EMA(AB,5);

頂1:=REFDATE(REF(HHV(H,100),5),DATE);

底1:=REFDATE(REF(LLV(L,100),5),DATE);

中1:=((頂1)+(底1))/2;

頂:IF(AB>0 AND AB-BA<=0,頂1,頂1),COLOR00FF00;

中:IF(AB>0 AND AB-BA<=0,中1,中1),COLORWHITE;

底:IF(AB>0 AND AB-BA<=0,底1,底1),COLORYELLOW;

DRAWTEXT(ISLASTBAR,(頂),STRCAT('',CON2STR(頂,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(中),STRCAT('',CON2STR(中,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(底),STRCAT('',CON2STR(底,2))),COLORWHITE;

{百底公式2}

N:100 NODRAW ;

高:IF(CURRBARSCOUNT<=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ;

低:IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW;

NOTEXT中:低+(高-低)/2 COLORWHITE;

{漲幅:(C-低)/低*100 NODRAW COLORFF00FF;}

漲幅:((C-低)/(高-低))*100 NODRAW COLORFF00FF;

漲天數:LLVBARS(L,100)COLORWHITE NODRAW;

{跌幅:((C-高)/高)*100 NODRAW COLORD9D919;};

跌幅:((C-高)/(高-低))*100 NODRAW COLORD9D919;

跌天數:HHVBARS(H,100)COLORWHITE NODRAW;

DRAWTEXT(ISLASTBAR,(高-(高-低)/50),STRCAT('',CON2STR(高-(高-低)/50,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(NOTEXT中),STRCAT('',CON2STR(NOTEXT中,2))),COLORWHITE;

DRAWTEXT(ISLASTBAR,(低),STRCAT('',CON2STR(低,2))),COLORWHITE;

MA5:MA(C,5),COLORYELLOW;

NOTEXT5:IF((C<=MA5 OR MA5<=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00;

振幅:((高-低)/低)*100 NODRAW COLORGREEN;

均周月:INBLOCK('均周')AND INBLOCK('均月') COLORWHITE NODRAW;

逃周月:INBLOCK('逃周')AND INBLOCK('逃月')NODRAW COLORYELLOW;

{VAR6:=REF(C,1);

VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;

DRAWTEXT(CROSS(82,VAR7),H*1.01,'高拋'),COLORFFFFFF;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);

AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);

AB:=CROSS(AK1,AK);

DRAWTEXT((AB = 1),(LOW * 0.99),'低吸'),COLORYELLOW;};

{百底距:=((C-低)/低)*100;

XG1:=BETWEEN(C,低,低*(1+0.03));

盤整天:BARSLASTCOUNT(XG1)NODRAW COLORYELLOW;}

{上漲值:=MA((H+REF(L,1))/2,3);

買進高點:=MA((H+REF(H,1))/2,3);

VAR1:=((O+H+L+2*C)/5)*2-L;

突破買入值:=MA(VAR1,3);{LSS軸點突破買入值}

{下跌值:=MA((REF(H,1)+L)/2,3);

賣出低點:=MA((REF(L,1)+L)/2,3);

VAR2:=((O+H+L+2*C)/5)*2-H;

突破賣出值:=MA(VAR2,3);

次日賣出點:=(上漲值+買進高點+突破買入值+H)/4;

次日買入點:=(下跌值+賣出低點+突破賣出值+L)/4;

均價:=(2*C+L+H/4);

買入價:IF(均價/REF(均價,1)>1,次日買入點*1.01,次日買入點)COLORWHITE NODRAW;

次低價:IF(均價/REF(均價,1)>1,次日買入點/1.0382,次日買入點)NODRAW COLORYELLOW;

賣出價:IF(均價/REF(均價,1)>1,次日賣出點*1.0191,次日賣出點)NODRAW;

必賣價:IF(均價/REF(均價,1)>1,次日賣出點*1.05,次日賣出點)COLORD9D919 NODRAW;}

{AC:=REF(C,1);

漲停K線:=IF((C-AC)*100/AC>=(10-0.01*100/AC),1,0);

跌停K線:=IF((AC-C)*100/AC>=(10-0.01*100/AC),1,0);

STICKLINE(漲停K線,OPEN,CLOSE,2.5,0),COLORYELLOW;

STICKLINE(跌停K線,OPEN,CLOSE,2.5,0),COLORED9564;}

{漲停顏色粉色,完美區分20%10%5%,創業板20200823前10%照樣變色}

BK:=IF(INBLOCK('科創板'),0.2,IF(INBLOCK('創業板'),0.2,IF(INBLOCK('ST板塊'),0.05,0.1)));

XA_1:=IF(DATE<=1200823,1,0);

STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,3,0),COLORYELLOW;

STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,3,0),COLORED9564;

STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,3,0),COLORYELLOW;

STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),C,O,3,0),COLORED9564;

{STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND XA_1=1),H,MAX(C,O),0.1,0),COLORYELLOW;{漲停後回落}

{STICKLINE((L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND XA_1=1),L,MIN(C,O),0.1,0),COLORED9564;{跌停後回升}

{Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;}

{DRAWTEXT_FIX(1,0.00,0.00,0,'主題投資:')COLORYELLOW;

DRAWTEXT_FIX(1,0.06,0.00,0,EXTERNSTR(0,1))COLORYELLOW;

DRAWTEXT_FIX(1,0.00,0.06,0,'主營業務:')COLORWHITE;

DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,2))COLORWHITE;

DRAWTEXT_FIX(1,0.00,0.12,0,'公司亮點:')COLORYELLOW;

DRAWTEXT_FIX(1,0.06,0.12,0,EXTERNSTR(0,3))COLORYELLOW; }

{流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;}

{漲停統計}

{漲停:=CLOSE/REF(CLOSE,1)>=1.095;

ZTCS:=COUNT(漲停,BARSSINCE(漲停)+1);}

{DRAWNUMBER(漲停,HIGH*1.04,ZTCS),COLORYELLOW;}

{GZT1:=STRCAT('共漲停: ',CON2STR(ZTCS,0));

GZT2:=STRCAT(GZT1,'次');

SSTS1:=STRCAT('上市: ',CON2STR(FINANCE(42),0));

SSTS2:=STRCAT(SSTS1,'天');

NTZZT1:=STRCAT('距今:',CON2STR(CONST(BARSLAST(漲停)),0));

NTZZT2:=STRCAT(NTZZT1,'天有漲停');

ZTTJ1:=STRCAT(SSTS2,GZT2);

ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);

ZTTJ:=STRCAT('漲停統計:',ZTTJ2);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.18,0,ZTTJ),COLORWHITE;}。

⑤ 股票公式 當日K線突破了所有均線 不是同時上穿啊!

不必同時,只要當日突破了所有均線即可,某些均線可以在之前突破

閱讀全文

與股票指標公式CGZ相關的資料

熱點內容
中國股票共計分為哪些板塊 瀏覽:279
股票財經哪個公眾號信息好 瀏覽:709
股票模擬下單軟體 瀏覽:952
舟山老百姓股票投資資金 瀏覽:161
多隻股票的資產組合權重 瀏覽:885
中國那個地區的人喜歡玩股票 瀏覽:950
st的股票每天能買多少股 瀏覽:199
融資融券買股票跌了還能賺錢 瀏覽:301
一隻股票跌停是多少 瀏覽:611
股票看k線能看出什麼 瀏覽:210
今日股票信息走勢圖 瀏覽:433
三板股票如果業績好吧怎樣市 瀏覽:147
603181皇馬科技股票牛叉診股 瀏覽:836
天天漲停股票盤後股 瀏覽:68
企業投資的股票派息會計憑證 瀏覽:141
利潔時中國股票代碼 瀏覽:626
業績好的消費類股票 瀏覽:188
老三版st九洲股票 瀏覽:747
廣州賽意信息股票 瀏覽:639
股票判斷類軟體 瀏覽:833