导航:首页 > 期指持仓 > 股票指标公式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相关的资料

热点内容
第一支股票上市时间 浏览:455
股票宝塔指标怎么用 浏览:165
股票账户可以绑定不是本人的银行卡吗 浏览:667
碧水源股票价格历史数据 浏览:436
业绩遇喜2019股票 浏览:703
发行股票收购资产能否大涨 浏览:106
退市整理期的股票怎么卖 浏览:476
600338股票走势图 浏览:249
香港交易所股票分红怎么样 浏览:310
我国证券分为债券股票基金 浏览:578
股票软件听课骗局 浏览:428
ST华讯股票交流 浏览:504
银帮科技股票行情 浏览:369
等我股票赚钱了就娶你 浏览:573
希努尔股票今日最新价格 浏览:624
怎么用炒股软件筛选股票 浏览:792
股票连续几个涨停算妖股 浏览:464
卓郎智能股票今天 浏览:724
融资股票多长时间更换 浏览:325
未来十年消费行业股票基金 浏览:534