{公式名称: 灯塔加黄金
公式描述:
参数数量: 6
参数1: m1, 最小: 1990, 最大: 3000, 缺省: 2016
参数2: m2, 最小: 1, 最大: 12, 缺省: 1
参数3: m3, 最小: 1, 最大: 31, 缺省: 1
参数4: n1, 最小: 1990, 最大: 3000, 缺省: 2016
参数5: n2, 最小: 1, 最大: 12, 缺省: 1
参数6: n3, 最小: 1, 最大: 31, 缺省: 1
}
xa_1:=year=m1 and month=m2 and day=m3;
xa_2:=year=n1 and month=n2 and day=n3;
水平线:ref(close,barslast(xa_1));
a:drawline(xa_1,close,xa_2,open,1);
b:drawline(xa_1,close,xa_2,close,1);
d:drawline(xa_1,close,xa_2,high,1);
e:drawline(xa_1,close,xa_2,low,1);
drawnumber(islastbar,水平线,水平线);
drawnumber(islastbar,1.01*a,a);
drawnumber(islastbar,1.01*b,b);
drawnumber(islastbar,1.01*d,d);
drawnumber(islastbar,1.01*e,e);
xa_3:=ref(close,1);
xa_4:=close<0.96*open or close<=xa_3*0.96 or close>1000 and close<=xa_3*0.98;
xa_5:=barslast(filter(xa_4,3));
大阴实顶:ref(open,xa_5),pointdot,colorligreen;
大阴二一:ref((low+high)/2,xa_5),nodraw;
{}
xa_6:=1.3;
xa_7:=1;
xa_8:=0;
xa_9:=ma(close,5);
xa_10:=ma(close,10);
xa_11:=ma(close,20);
xa_12:=xa_9>ref(xa_9,1) and xa_10<ref(xa_10,1) and xa_11<ref(xa_11,1);
xa_13:=ref(vol,1);
xa_14:=ref(vol,2);
xa_15:=ref(vol,3);
xa_16:=ref(close,2);
xa_17:=ref(close,3);
xa_18:=ref(close,4);
xa_19:=ref(open,1);
xa_20:=ref(open,2);
xa_21:=ref(open,3);
xa_22:=ref(open,4);
xa_23:=close>=xa_17 and xa_3>=xa_17 and xa_16>=xa_17;
xa_24:=low>xa_21 and ref(low,1)>xa_21 and ref(low,2)>xa_21;
xa_25:=amount/vol/100;
xa_26:=ref(xa_25,1);
xa_27:=ref(xa_25,2);
xa_28:=close>=open or (close<open and xa_25>xa_3);
xa_29:=count(xa_28,3)>=2;
xa_30:=xa_17>xa_21;{}
xa_31:=xa_25>=xa_26 or close>xa_3 and (xa_26>=xa_27 or xa_3>=xa_16);
xa_32:=(close+xa_3+xa_16)/3>xa_17;
xa_33:=vol>xa_13 and xa_13>xa_14;
xa_34:=vol<=xa_13 and xa_13<=xa_14;
xa_35:=(vol+xa_13+xa_14)/3<=xa_15 and not(xa_33);
xa_36:=close/vol;
xa_37:=xa_36>=ref(xa_36,1) and ref(xa_36,1)>=ref(xa_36,2);
xa_38:=(close+xa_3+xa_16)/3/xa_17;
xa_39:=(vol+xa_13+xa_14)/3/xa_15;
xa_40:=xa_6*xa_38/xa_39>1;
xa_41:=xa_21>xa_18 and xa_18>xa_22;
xa_42:=xa_30 and xa_31 and xa_34 and xa_23 and xa_24 and xa_41;
xa_43:=backset(xa_42,5);
xa_44:=filter(xa_43,4);
xa_45:=xa_30 and xa_31 and xa_34 and xa_23 and xa_24;
xa_46:=backset(xa_45,4);
xa_47:=filter(xa_46,3);
xa_48:=xa_45 and ref(xa_45,1);
xa_49:=backset(xa_48,4);
xa_50:=filter(xa_49,3);
xa_51:=xa_45 and ref(xa_45,2);
xa_52:=backset(xa_51,4);
xa_53:=filter(xa_52,3);
xa_54:=xa_45 and ref(xa_45,3);
xa_55:=backset(xa_54,4);
xa_56:=filter(xa_55,3);
xa_57:=xa_30 and xa_31 and xa_35 and not(xa_33) and xa_23 and xa_24 and xa_41 and not(xa_45) and not(xa_42);
xa_58:=backset(xa_57,5);
xa_59:=filter(xa_58,4);
xa_60:=xa_30 and xa_31 and xa_35 and not(xa_33) and xa_23 and xa_24 and not(xa_45) and not(xa_42);
xa_61:=backset(xa_60,4);
xa_62:=filter(xa_61,3);
xa_63:=xa_60 and ref(xa_60,1);
xa_64:=backset(xa_63,4);
xa_65:=filter(xa_64,3);
xa_66:=xa_60 and ref(xa_60,2);
xa_67:=backset(xa_66,4);
xa_68:=filter(xa_67,3);
xa_69:=xa_60 and ref(xa_60,3);
xa_70:=backset(xa_69,4);
xa_71:=filter(xa_70,3);
xa_72:=xa_30 and xa_32 and xa_34 and xa_23 and xa_24 and xa_41 and not(xa_45) and not(xa_60) and not(xa_42) and not(xa_57);
xa_73:=backset(xa_72,5);
xa_74:=filter(xa_73,4);
xa_75:=xa_30 and xa_32 and xa_34 and xa_23 and xa_24 and not(xa_45) and not(xa_60) and not(xa_42) and not(xa_57);
xa_76:=backset(xa_75,4);
xa_77:=filter(xa_76,3);
xa_78:=xa_75 and ref(xa_75,1);
xa_79:=backset(xa_78,4);
xa_80:=filter(xa_79,3);
xa_81:=xa_75 and ref(xa_75,2);
xa_82:=backset(xa_81,4);
xa_83:=filter(xa_82,3);
xa_84:=xa_75 and ref(xa_75,3);
xa_85:=backset(xa_84,4);
xa_86:=filter(xa_85,3);
xa_87:=xa_30 and xa_32 and xa_35 and xa_23 and xa_24 and xa_41 and not(xa_45) and not(xa_42) and not(xa_60) and not(xa_57) and not(xa_75) and not(xa_72);
xa_88:=backset(xa_87,5);
xa_89:=filter(xa_88,4);
xa_90:=xa_30 and xa_32 and xa_35 and xa_23 and xa_24 and not(xa_45) and not(xa_60) and not(xa_75) and not(xa_42) and not(xa_57) and not(xa_72);
xa_91:=backset(xa_90,4);
xa_92:=filter(xa_91,3);
xa_93:=xa_90 and ref(xa_90,1);
xa_94:=backset(xa_93,4);
xa_95:=filter(xa_94,3);
xa_96:=xa_90 and ref(xa_90,2);
xa_97:=backset(xa_96,4);
xa_98:=filter(xa_97,3);
xa_99:=xa_90 and ref(xa_90,3);
xa_100:=backset(xa_99,4);
xa_101:=filter(xa_100,3);
xa_102:=xa_30 and xa_32 and xa_40 and xa_23 and xa_24 and xa_41 and not(xa_45) and not(xa_60) and not(xa_75) and not(xa_90) and not(xa_42) and not(xa_57) and not(xa_72) and not(xa_87);
xa_103:=backset(xa_102,5);
xa_104:=filter(xa_103,4);
xa_105:=xa_30 and xa_32 and xa_40 and xa_23 and xa_24 and not(xa_45) and not(xa_60) and not(xa_75) and not(xa_90) and not(xa_42) and not(xa_57) and not(xa_72) and not(xa_87);
xa_106:=backset(xa_105,4);
xa_107:=filter(xa_106,3);
xa_108:=xa_105 and ref(xa_105,1);
xa_109:=backset(xa_108,4);
xa_110:=filter(xa_109,3);
xa_111:=xa_105 and ref(xa_105,2);
xa_112:=backset(xa_111,4);
xa_113:=filter(xa_112,3);
xa_114:=xa_105 and ref(xa_105,3);
xa_115:=backset(xa_114,4);
xa_116:=filter(xa_115,3);
xa_117:=xa_30 and xa_32 and xa_37 and xa_23 and xa_24 and xa_41 and not(xa_45) and not(xa_60) and not(xa_75) and not(xa_90) and not(xa_105) and not(xa_42) and not(xa_57) and not(xa_72) and not(xa_87) and not(xa_102);
xa_118:=backset(xa_117,5);
xa_119:=filter(xa_118,4);
xa_120:=xa_30 and xa_32 and xa_37 and xa_23 and xa_24 and not(xa_45) and not(xa_60) and not(xa_75) and not(xa_90) and not(xa_105) and not(xa_42) and not(xa_57) and not(xa_72) and not(xa_87) and not(xa_102);
xa_121:=backset(xa_120,4);
xa_122:=filter(xa_121,3);
xa_123:=xa_120 and ref(xa_120,1);
xa_124:=backset(xa_123,4);
xa_125:=filter(xa_124,3);
xa_126:=xa_120 and ref(xa_120,2);
xa_127:=backset(xa_126,4);
xa_128:=filter(xa_127,3);
xa_129:=xa_120 and ref(xa_120,3);
xa_130:=backset(xa_129,4);
xa_131:=filter(xa_130,3);
xa_132:=xa_47 and not(ref(xa_47,4)) or (xa_50 and not(ref(xa_50,4))) or (xa_53 and not(ref(xa_53,4))) or (xa_56 and not(ref(xa_56,4)));
xa_133:=xa_62 and not(ref(xa_62,4)) or (xa_65 and not(ref(xa_65,4))) or (xa_68 and not(ref(xa_68,4))) or (xa_71 and not(ref(xa_71,4)));
xa_134:=xa_77 and not(ref(xa_77,4)) or (xa_80 and not(ref(xa_80,4))) or (xa_83 and not(ref(xa_83,4))) or (xa_86 and not(ref(xa_86,4)));
xa_135:=xa_92 and not(ref(xa_92,4)) or (xa_95 and not(ref(xa_95,4))) or (xa_98 and not(ref(xa_98,4))) or (xa_101 and not(ref(xa_101,4)));
xa_136:=xa_107 and not(ref(xa_107,4)) or (xa_110 and not(ref(xa_110,4))) or (xa_113 and not(ref(xa_113,4))) or (xa_116 and not(ref(xa_116,4)));
xa_137:=xa_122 and not(ref(xa_122,4)) or (xa_125 and not(ref(xa_125,4))) or (xa_128 and not(ref(xa_128,4))) or (xa_131 and not(ref(xa_131,4)));
xa_138:=xa_132 or xa_133 or xa_134 or xa_135 or xa_136 or xa_137;
stickline(xa_138 and not(ref(xa_138,4)),open,close,3,0),color0099ff;
drawtext(xa_138 and not(ref(xa_138,4)),low*0.986,250),color0099ff;
xa_139:=sumbars(xa_138,1);
stickline(xa_139 and xa_7=1,ref(close,xa_139-1),ref(close,xa_139-1),10,0),color8822ff;
xa_140:=xa_44 and not(ref(xa_44,5));
xa_141:=xa_59 and not(ref(xa_59,5));
xa_142:=xa_74 and not(ref(xa_74,5));
xa_143:=xa_89 and not(ref(xa_89,5));
xa_144:=xa_104 and not(ref(xa_104,5));
xa_145:=xa_119 and not(ref(xa_119,5));
xa_146:=xa_140 or xa_141 or xa_142 or xa_143 or xa_144 or xa_145;
stickline(xa_146 and not(ref(xa_146,5)),open,close,3,0),colorred;
drawtext(xa_146 and not(ref(xa_146,5)),low*0.978,251),colorred;
xa_147:=sumbars(xa_146,1);
stickline(xa_147 and xa_7=1,ref(close,xa_147-1),ref(close,xa_147-1),10,0),color8822ff;
xa_148:=xa_45 or xa_60 or xa_75 or xa_90 or xa_105 or xa_120 and xa_12 and xa_8;
xa_149:=backset(xa_148,4);
xa_150:=filter(xa_149,3);
stickline(xa_150 and not(ref(xa_150,4)),open,close,3,0),color0099ff;
drawtext(xa_150 and not(ref(xa_150,4)),low*0.958,3),color0099ff;
xa_151:=xa_42 or xa_57 or xa_72 or xa_87 or xa_102 or xa_117 and xa_12 and xa_8;
xa_152:=backset(xa_151,5);
xa_153:=filter(xa_152,5);
stickline(xa_153 and not(ref(xa_153,4)),open,close,3,0),color0099ff;
drawtext(xa_153 and not(ref(xa_153,4)),low*0.958,3),color0099ff;
几倍:vol/ref(vol,1),nodraw,coloryellow;
xa_154:=1.9;
倍量:vol>=ref(vol,1)*xa_154 and if(close<open,close>ref(close,1),1),nodraw,coloryellow;
xa_155:=close>open or close>ref(close,1);
xa_156:=ref(xa_155,3);
xa_157:=ref(倍量,3);
xa_158:=ref(vol,3)>=hhv(vol,7);
xa_159:=llv(close,3)>=ref(low,3);
xa_160:=count(close>=ref(close,1),3)=3;
xa_161:=count(vol<=ref(vol,1),3)=3;
xa_162:=count(xa_155,3)=3;
xa_163:=xa_157 and xa_159 and xa_156;
xa_164:=xa_158 and xa_159 and xa_156;
xa_165:=xa_163 or xa_164;
xa_166:=xa_165 and xa_160 and xa_161 and xa_162;
xa_167:=vol<=llv(vol,100)*1.2 and vol>0 and barscount(vol)>=100;
xa_168:=count(xa_167,5)>=3;
xa_169:=close/ref(close,1)<=0.96 and vol<hhv(vol,30)/1.9;
stickline(xa_165,close,open,2,0),colorwhite;
stickline(xa_165,close,open,0.5,0),coloryellow;
stickline(xa_166,close,open,2,0),colorwhite;
stickline(xa_166,close,open,0.5,0),colormagenta;
stickline(xa_168,close,open,0.5,0),colorwhite;
stickline(xa_168,close,open,0.2,0),colorcyan;
stickline(xa_169,close,open,0.2,0),colorblack;
xa_170:=barslast(high=hhv(high,60) and close<open and open>ref(close,1) and high/low>1.05);
xa_171:=every(close<ref(close,1),2);
xa_172:=every(low<=ref(low,1),2);
xa_173:=barslast(ref(xa_170,2)=0 and xa_171 and xa_172);
xa_174:=xa_170-xa_173=2 and close>ref(close,xa_170)*1.02;
xa_175:=barslastcount(close>open)=4 and close/ref(close,1)>1.045;
xa_176:=ref(every(max(close,open)<ref(high,xa_170),xa_170),1) and open>ref(high,1) and xa_174 and xa_170<15 and not(xa_175);
xa_177:=count(xa_176,xa_170)=1 and xa_176;
xa_178:=backset(xa_177=1,xa_170+1);
xa_179:=barslast(cross(xa_178=1,0.5));
drawtext(xa_179=0,high*1.1,252),coloryellow;
drawicon(xa_179=0,high,12);
stickline(xa_179>=0 and xa_178=1,ref(high,xa_170),ref(high,xa_170),4,(-1)),colorliblue;
drawtext(xa_177=1,low*0.95,253),coloryellow;
drawicon(xa_177=1,low,11);
xa_180:=if(llv(low,3)>=ref(high,3),ref(high,3),if(llv(low,3)>=ref(close,3) and ref(close,3)>ref(open,3),ref(close,3),if(llv(low,3)>=ref(open,3) and ref(close,3)>ref(open,3),ref(open,3),ref(low,3))));
xa_181:=drawicon(llv(low,3)>ref(low,3) or llv(low,3)=ref(low,3) and hhv(vol,3)<ref(vol,3) and ref(close,3)>ref(open,3) and ref(vol,3)>=2*ref(vol,4),high+0.2,17);
xa_182:=drawicon(llv(low,3)>ref(low,3) and hhv(vol,3)<ref(vol,3) and ref(vol,5)>ref(vol,6) and ref(vol,4)>ref(vol,5) and ref(vol,3)>ref(vol,4),high,17);
xa_183:=drawicon(llv(low,3)>ref(low,3) and hhv(vol,3)<ref(vol,3) and ref(close,3)>ref(open,3) and abs(ref(vol,3)-ref(vol,4))/ref(vol,4)<=0.03,high,19);
xa_184:=drawicon(vol>ref(vol,1)*2 or vol=ref(vol,1)*2 and close>ref(close,1),high+0.2,26);
stickline(xa_184,open,close,(-1),0),coloryellow;
倍量黄金线:stickline(xa_181,xa_180,xa_180,28,0),colormagenta,linethick5;
drawicon(xa_181,xa_180*1.008,12);
drawtext(xa_181,xa_180*1.008,254),colormagenta;
xa_185:=(3*close+high+low+open)/6;
xa_186:=(8*xa_185+7*ref(xa_185,1)+6*ref(xa_185,2)+5*ref(xa_185,3)+4*ref(xa_185,4)+3*ref(xa_185,5)+2*ref(xa_185,6)+ref(xa_185,8))/36;
平量黄金线:stickline(xa_183,xa_180*1.002,xa_180,28,0),coloryellow;
drawtext(xa_183,xa_180*1.015,256),colorffcc00;
梯量黄金线:stickline(xa_182,xa_180*1.002,xa_180,28,0),coloryellow;
drawtext(xa_182,xa_180*1.015,257),colorcyan;
上一指标公式:汇盈K线公式下载 通达信汇盈
下一指标公式:MACD背离公式下载 通达信背离
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文灯塔加黄金转载和谐完全加密指标公式下载 通达信加密指标仅供学习研究。