同花顺经典龙腾四海优化副图公式附实测图与双重对比源码
rsv1:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
k1:=sma(rsv1,5,1);
d1:=sma(k1,5,1);
j1:=3*k1-2*d1;
aa1:=ema(j1,5);
aa2:=ref(aa1,1);
a2:=((ema(close,12)) - (ema(close,26))) * 10;
a3:=ema(a2,27);
a4:=2 * (a2 - a3);
a5:=((close - (llv(low,9))) / ((hhv(high,9)) - (llv(low,9)))) * 100;
a6:=sma(a5,3,1);
a7:=sma(a6,3,1);
a8:=(3 * a6) - (2 * a7);
a9:=((ma(close,3)));
a10:=ma(close,5);
a11:=ma(close,10);
a12:=((ma(close,13)));
a13:=ma(close,30);
a14:=ma(close,34);
a15:=ma(close,55);
a16:=ma(close,60);
a17:=ma(close,90);
a18:=ma(close,120);
a19:=ma(close,250);
stickline(aa1>aa2,aa1,aa2,3,0),color0055aa;
stickline(aa1>aa2,aa1,aa2,2,0),color0077cc;
stickline(aa1>aa2,aa1,aa2,1,0),color0099dd;
a20:=((close - a10) / a10) * 100;
a21:=((close - a11) / a11) * 100;
a22:=((close - a12) / a12) * 100;
a23:=((close - a13) / a13) * 100;
a24:=((close - a14) / a14) * 100;
a25:=((close - a16) / a16) * 100;
a26:=((close - a17) / a17) * 100;
a27:=((close - a18) / a18) * 100;
a28:=((close - a19) / a19) * 100;
stickline(aa1>aa2,aa1,aa2,0.5,0),colorwhite;
stickline(aa1<=aa2,aa1,aa2,4,0),color006600;
stickline(aa1<=aa2,aa1,aa2,3,0),color009900;
a29:=ma(close,4);
a30:=ma(close,25);
a31:=ma(close,45);
a32:=ma(close,74);
a33:=ma(close,99);
a34:=ma(close,144);
a35:=ma(close,165);
a36:=ma(close,200);
a37:=ma(close,318);
a38:=ma(close,453);
a39:=ema(close,17);
a40:=ema(close,50);
a41:=(100 * (close - a13)) / a13;
stickline(aa1<=aa2,aa1,aa2,2,0),color00bb00;
stickline(aa1<=aa2,aa1,aa2,0.5,0),colorwhite;
龙腾四海:(100 - ((100 * ((hhv(high,40)) - close)) / ((hhv(high,40)) - (llv(low,40))))),colorffffcc;
a42:=(((((close / (ref(close,1))) <= 0.97) and ((open / close) >= 1.02)) or (((close / (ref(close,1))) <= 0.95) and (open!= close))));
a43:=((sma((max((close - (ref(close,1))),0)),9,1)) / (sma(abs((close - (ref(close,1)))),9,1))) * 100;
a44:=((sma((max((close - (ref(close,1))),0)),14,1)) / (sma(abs((close - (ref(close,1)))),14,1))) * 100;
a45:=(((abs((a44 - a43)) < 9) and (a44 < 20)) and (a43 > 9.5)) and (a43 < 12);
a46:=((((a45 and (a20 < -9)) and a42) and (vol < ((ref(vol,1)) * 3))) * vol) * 1.5;
a47:=ref(a46,1);
a48:=((sma((max((close - (ref(close,1))),0)),7,1)) / (sma(abs((close - (ref(close,1)))),7,1))) * 100;
a49:=((sma((max((close - (ref(close,1))),0)),13,1)) / (sma(abs((close - (ref(close,1)))),13,1))) * 100;
typ := (high + low + close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
a50:=(ref(cci,1)) > (-180);
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
a51:=cross((j),0);
a52:=(((close / (ref(close,1))) >= 1.066) and ((high / close) < 1.005)) and (((ma(close,46)) / close) >= 1.19);
a53:=(vol / (ref(vol,3))) >= 1.29;
a54:=(((a48 < 19) and (a49 < 23)) and a51) and a50;
a55:=a52 and ((count(a52,10)) = 1);
a56:=(a54 >= 1) and a53;
a57:=(a56 and ((count(a56,20)) = 1));
a58:=a57 or a55;
a59:=(((((((((ref(close,1)) / (ref(close,2))) <= 0.97) and (a4 > -2.5)) and ((ref(a7,1)) < 20)) and (close >= open)) and (close < a18)) and ((ref(a8,1)) < 10)) and (high < (ref(open,1)))) and (low >= (ref(close,1)));
a60:=((((((ref(close,1)) / (ref(close,2))) <= 0.97) and (close > (ref(high,1)))) and (close < a18)) and (a6 > (ref(a6,1)))) and (a8 < 30);
a61:=(((ref(a60,1)) and (a7 < 30)) and ((close / (ref(close,1))) < 0.98)) and (vol < (ref(vol,1)));
a62:=((((((a8 < -3) and (a7 < 25)) and ((close / (ref(close,1))) <= 0.97)) and ((open / close) >= 1.02)) and (vol < ((ref(vol,1)) * 2.5))));
a63:=(((ref(a62,1)) and (close > open)) and ((a7 - a6) > 3.5)) and (a8 > (ref(a8,1)));
a64:=((a59 or a61) or a63) * 2;
a65:=(cross(k,d)) * 60;
a66:=(((ref(close,1)) / (ref(close,2))) <= 0.97) and (((ref(open,1)) / (ref(close,1))) >= 1.02);
a67:=(((close / (ref(close,1))) <= 0.96) and ((open / close) >= 1.02)) or (((close / (ref(close,1))) <= 0.95) and (open !=close));
a68:=(1);
a69:=if(((((((ema(close,5)) / (ema((ema(close,9)),16))) <= 0.85) and ((close / (ref(close,1))) > 0.905)) and ((close / (ref(close,1))) < 1.05)) and (((vol / capital) * 100) < 5)),50,0);
a70:=((-100 * ((hhv(high,34)) - close)) / ((hhv(high,34)) - (llv(low,34)))) + (100 * a68);
a71:=((-100 * ((hhv(high,50)) - close)) / ((hhv(high,50)) - (llv(low,50)))) + 100;
a72:=((-100 * ((hhv(high,70)) - close)) / ((hhv(high,70)) - (llv(low,70)))) + (100 * a68);
a73:=(a24 + 10) * 5;
a74:=((((close - (ma(close,50))) / (ma(close,50))) * 100) + 10) * 5;
a75:=((((close - (ma(close,70))) / (ma(close,70))) * 100) + 10) * 5;
a76:=((((((a70 + a71) + a72) + a73) + a74) + a75) / 6) * a68;
a77:=ema(a76,3);
a78:=abs((a73 - a75));
a79:=(a76 + a78) / 2;
rsv2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k2:=sma(rsv2,3,1);
d2:=sma(k2,3,1);
j2:=3*k2-2*d2;
a80:=(-1 * ((ema((100 * (1 - winner(close))),1)) - 50)) + 50;
a81:=a80 + a79;
a82:=(if(((a69 > 0) and (a81 < 0)),200,0)) * a68;
a83:=if((((((a79 < 0) and (close = (llv(close,5)))) and ((close / (ref(close,1))) > 0.905)) and ((close / (ref(close,1))) < 1.05)) and (((vol / capital) * 100) < 5)),-50,0);
a84:=(if(((a81 < 0) and (a83 = -50)),100,0)) * a68;
a85:=(ref(close,2)) * 0.865;
a86:=(ref(close,13)) * 0.772;
a87:=min(a85,a86);
a88:=((100 * vol) / capital) * a68;
a89:=if(((((close - a87) / close) < (3 / 100)) and (((sum(a88,5)) / 5) < 1.8)),1,0);
a90:=if(((a89 > 0) and ((a83 < 0) or (a69 > 0))),100,0);
a91:=if((((((a82 > 0) and (a84 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or ((a89 > 0) and (((ref(close,1)) / (ref(close,2))) > 0.902))) or ((((((a82 > 0) and (a84 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or (a89 > 0)) and ((a83 < 0) or (a69 > 0))) and (a90 < 10))),50,0);
a92:=(((((a82 > 0) and (a84 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or (a89 > 0)) and ((a83 < 0) or (a69 > 0))) or ((((a82 > 0) and (a84 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or ((a89 > 0) and (((ref(close,1)) / (ref(close,2))) > 0.902)));
a93:=a90 or a92;
a94:=(a90);
a95:=(ma(close,80)) - ((a11 / 3) * a68);
a96:=amount / vol;
a97:=ema(((winner((close * 1.1)) - winner((close * 0.9))) * 80),5);
a98:=vol * close;
a99:=(ema(a98,5)) / (ema(vol,5));
a100:=((close - a99) / a99) * 100;
a101:=a96 / 100;
a102:=ma(a101,5);
a103:=ma(a101,20);
a104:=ma(a101,30);
a105:=ma(close,27);
a106:=((close - a105) / a105) * 100;
a107:=(ma(a106,3));
a108:=(a100 < -2) and ((a102 > (a101 * 1.03)) and (a103 > (a101 * 1.13)));
a109:=(((2 * close) + high) + low) / 4;
a110:=ema((((((ema(a109,3)) + (ema(a109,6))) + (ema(a109,12))) + (ema(a109,24))) / 4),2);
a111:=(1 + (100 / 1000)) * a110;
a112:=((close - cost(10)) / close) * 100;
a113:=(1 + (-120 / 1000)) * a110;
a114:=if((((low < a113) and (close < open)) and ((a112 < -13) = 1)),65,0);
a115:=(sum((vol / capital),13)) * 100;
a116:=(((ref(close,13)) - close) / (ref(close,13))) * 100;
a117:=(((a115 <= 30) and (a115 >= 2)) and (((vol / capital) * 100) < 2)) and (((((ref(close,1)) - close) / (ref(close,1))) * 100) < 6);
a118:=ma(close,44);
a119:=(close - a118) / a118;
a120:=((((3 * high) + low) + open) + (2 * close)) / 7;
a121:=((sum(amount,13)) / a101) / 100;
a122:=dma(a120,(vol / a121));
a123:=((close - a122) / a122) * 100;
a124:=(9999);
a125:=close - (ref((ma(close,20)),11));
a126:=(if(((a69 > 0) and (a81 < 0)),200,0)) * a125;
a127:=(if(((a81 < 0) and (a83 = -50)),100,0)) * a125;
a128:=((100 * vol) / capital) * a125;
a129:=if(((((close - a87) / close) < (3 / 100)) and (((sum(a128,5)) / 5) < 1.8)),1,0);
a130:=if(((a129 > 0) and ((a83 < 0) or (a69 > 0))),100,0);
a131:=if((a130 > 0),60,0);
a132:=if((((((a126 > 0) and (a127 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or ((a129 > 0) and (((ref(close,1)) / (ref(close,2))) > 0.902))) or ((((((a126 > 0) and (a127 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or (a129 > 0)) and ((a83 < 0) or (a69 > 0))) and (a130 < 10))),50,0);
a133:=(((((a126 > 0) and (a127 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or (a129 > 0)) and ((a83 < 0) or (a69 > 0))) or ((((a126 > 0) and (a127 > 0)) and (((sum(((vol / capital) * 100),5)) / 5) < 1)) or ((a129 > 0) and (((ref(close,1)) / (ref(close,2))) > 0.902)));
a134:=a131 or a133;
a135:=(a130);
a136:=(ma(close,80)) - ((a11 / 3) * a125);
a137:=(ref(("kdj.j"),1)) < ("kdj.j");
a138:=((((close / (ref(close,1))) < 0.98) and (open !=close)));
a140:=sma((sma((((close - (llv(low,55))) / ((hhv(high,55)) - (llv(low,55)))) * 100),18,1)),12,1);
a141:=sma((((close - (llv(low,55))) / ((hhv(high,55)) - (llv(low,55)))) * 100),12,1);
a142:=if((cross(a141,a140)),30,0);
a143:=((high + low) + close) / 3;
a144:=(a143 - (ma(a143,14))) / (0.015 * (avedev(a143,14)));
a145:=(a143 - (ma(a143,85))) / (0.015 * (avedev(a143,85)));
a146:=if(((a145 >= 200) and (a144 >= 150)),10,0);
a147:=((sma((max((close - (ref(close,1))),0)),6,1)) / (sma(abs((close - (ref(close,1)))),6,1))) * 100;
a148:=if((cross(80,a147)),30,0);
a149:=barslast(((cross(-10,a107)) = 1));
a150:=barslast(((cross(a107,10)) = 1));
a151:=((a107 < -10) and (a149 > 3));
a152:=((a107 > 10) and (a150 > 3));
bb1:=ema(j2,5);
bb2:=ref(bb1,1);
安全:(((if(a151,a107,0)) < 0) * -10),dotline,colorgreen;
风险:100,dotline,colorlimagenta;
龙抬头:((((((a65 and 安全) and ((a6 - a7) > 1.5)) and (open != high)) and (a26 < -10)) or (安全 and (cross(a6,a7)))) * 10),stick,linethick1,colorred;
龙抬头1:stickline((龙抬头 > 0),0,15,3,0),coloryellow;
安全区:stickline(((if(a151,a107,0)) < 0),-10,0,10,1),colorgreen;
风险区:stickline(((if(a152,a107,0)) > 0),110,100,10,1),colorred;
a153:=max(max(max(max(a39,a40),a30),a33),a36) / min(min(min(min(a39,a40),a30),a33),a36) < 1.05;
a154:=((((((((close < a17) and (cross(a6,a7))) and ((ref(a2,1)) < 1)) and (a2 > a3)) and (a8 > (ref(a8,4)))) and ((ref(a4,1)) < (ref(a4,2)))) and (a4 > (ref(a4,1)))) * 55);
a155:=((filter(((((((ref(a40,1)) < (ref(a40,2))) and (close > a33)) and (a40 > (ref(a40,1)))) and (a2 > a3)) and (a8 > (ref(a8,1)))),5)) * 45);
a157:=max(max(max(max(a13,a16),a17),a18),a19) / min(min(min(min(a13,a16),a17),a18),a19) < 1.05;
a158:=max(max(max(a13,a16),a17),a18) / min(min(min(a13,a16),a17),a18) < 1.05;
海面:20,colorliblue;
stickline(bb1>bb2,bb1,bb2,7,0),color000045;
stickline(bb1>bb2,bb1,bb2,5,0),color000085;
stickline(bb1>bb2,bb1,bb2,3,0),color0000c5;
drawtext(islastbar,海面,'海面'),colorgreen;
海天分界线:50,coloryellow;
drawtext(islastbar,海天分界线,'分界线'),coloryellow;
天际:80,colorred;
drawtext(islastbar,天际,'天际'),colorred;
stickline(bb1>bb2,bb1,bb2,1,0),color0000e5;
stickline(bb1<=bb2,bb1,bb2,7,0),color353500;
stickline(bb1<=bb2,bb1,bb2,5,0),color555500;
stickline(bb1<=bb2,bb1,bb2,3,0),color757500;
stickline(bb1<=bb2,bb1,bb2,1,0),color858500;
wwwchnmoneycom:=close>ref(close,1) and close>ref(close,2);
yar1:=hhv(high,9)-llv(low,9);
yar2:=hhv(high,9)-close;
yar3:=close-llv(low,9);
yar4:=yar2/yar1*100-70;
yar5:=(close-llv(low,60))/(hhv(high,60)-llv(low,60));
yar6:=(2*close+high+low)/4;
yar7:=sma(yar3/yar1*100,3,1);
yar8:=llv(low,34);
yar9:=sma(yar7,3,1)-sma(yar4,9,1);
yar10:=if(yar9>100,yar9-100,0);
yar11:=hhv(high,34);
多:ema((yar6-yar8)/(yar11-yar8)*100,13),colorred;
空:ema(0.667*ref(多,1)+0.333*多,2);
drawband(多,rgb(255,0,0),空,rgb(256,200,10));
drawtext((龙抬头 > 0),-5,'龙抬头'),coloryellow;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文同花顺经典龙腾四海优化副图公式附实测图与双重对比源码下载仅供学习研究。