指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:超级解盘公式 飞狐指标 源码
超级解盘
防伪:=date<200901024;
explain(防伪=0,'对不起,您无权使用'),colorff0000;
explain(防伪=1,' '+stkname+' '+stklabel),linethick8,colorffff;
explain(防伪=1,'\n所属块:'+blkname),align0,colorffff;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
p:=sysparam(1);
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
str1:=' '+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日'+wday[wd[p]+1];
explain(防伪=1 and barpos=p,str1),colorffff;
explainex(防伪=1,' 换手率=',vol/capital*100,2,0),colora4ff98;
explainex(防伪=1,' 20日乖离率=',(close-ma(close,20))/ma(close,20)*100,2,0),colora4ff98;
explainex(防伪=1,' 获利盘比例=',winner(close)*100,2,0),colora4ff98;
explainex(防伪=1,' 套牢盘比例=',100-winner(close)*100,2,0),colora4ff98;
explainex(防伪=1,'平均成本',round(cost(50)*100)/100,2,0),colora4ff98;
explainex(防伪=1,'穿透力',(winner(close)-winner(ref(close,1)))/vol*capital,2,0),colora4ff98;
explainex(防伪=1,'90%成本',floor((cost(50-90/2))*100)/100,2,0),colora4ff98;
explainex(防伪=1,'集中度',intpart((ceiling((cost(50+90/2))*100)/100-floor((cost(50-90/2))*100)/100)/(ceiling((cost(50+90/2))*100)/100+floor((cost(50-90/2))*100)/100)*1000)/10,2,0),colora4ff98;
explainex(防伪=1,'70%成本',floor((cost(50-70/2))*100)/100,2,0),colora4ff98;
explainex(防伪=1,'集中度',intpart((ceiling((cost(50+70/2))*100)/100-floor((cost(50-70/2))*100)/100)/(ceiling((cost(50+70/2))*100)/100+floor((cost(50-70/2))*100)/100)*1000)/10,2,0),colora4ff98;
涨幅比:=100*(close/ref(close,1)-1);
跌幅比:=100*(1-close/ref(close,1));
explain(1,' '+'图形分析'),colorffff;
早晨之星的中部:=(abs(ref(open,1)-ref(close,1)))/ref(close,1);
早晨两日前倍比:=(ref(open-close,2))/ref(open,2)/早晨之星的中部;
早晨今日倍比:=(close-open)/open/早晨之星的中部;
早晨:=ref(isdown,2) and 早晨两日前倍比>3 and 早晨之星的中部<0.03 and ref(open,1)<ref(close,2) and isup and 早晨今日倍比>3 and close>ref(close,2);
explain(防伪=1 and 早晨,' '+'早晨之星'),color3300ff;
explain(防伪=1 and 早晨,'若低位上涨即将启动,若在高位请小心冲高出货'),color6633cc;
explain(防伪=1 and 早晨,'可靠性排序一');
黄昏之星的中部:=(abs(ref(open,1)-ref(close,1)))/ref(close,1);
黄昏两日前倍比:=(abs(ref(open-close,2)))/ref(open,2)/黄昏之星的中部;
黄昏今日倍比:=(abs(close-open))/open/黄昏之星的中部;
黄昏:=ref(isup,2) and 黄昏两日前倍比>3 and 黄昏之星的中部<0.03 and ref(open,1)>ref(close,2) and isdown and 黄昏今日倍比>3 and close<ref(close,2);
explain(防伪=1 and 黄昏,' '+'黄昏之星'),colorff00;
explain(防伪=1 and 黄昏,'进入盘整期或者下跌期,具体视行情而定'),colorccff33;
explain(防伪=1 and 黄昏,'可靠性排序一');
十字星:=(abs(close-open))/close<0.004 and (abs(low-if(isup,open,close)))/close>0.004 and high>if(isup,close,open);
explain(防伪=1 and 十字星,' '+'十字星'),colorff6600;
explain(防伪=1 and 十字星,'转折信号,升势末期效果显著'),colorccff33;
explain(防伪=1 and 十字星,'其它位置需要配合第二日确认'),colorffcc33;
explain(防伪=1 and ref(十字星,1) and isdown,' '+'黄昏十字星'),colorff00;
explain(防伪=1 and ref(十字星,1) and isdown,'在上升势头中出现,后市走跌'),colorccff33;
explain(防伪=1 and ref(十字星,1) and isdown,'在下跌势头中出现,跌势趋缓'),colorccff99;
explain(防伪=1 and ref(十字星,1) and isdown,'在盘整中出现,需要配合周边态势'),colorccff99;
explain(防伪=1 and ref(十字星,1) and isup,' '+'早晨十字星'),color3300ff;
explain(防伪=1 and ref(十字星,1) and isup,'在下跌势头中出现早晨十字星,后市走高'),color6633cc;
explain(防伪=1 and ref(十字星,1) and isup,'在上升势头中出现早晨十字星,涨势趋缓'),colorcccccc;
explain(防伪=1 and 十字星,'可靠性排序三');
垂死十字:=if(close>20,(abs(close-open))/close<=0.004 and (abs(if(isup,open,close)-low))/close<=0.002 and (high-if(isup,close,open))/close>0.004,close=open and high>open and low=close);
explain(垂死十字,' '+'垂死十字'),colorff00;
explain(垂死十字,'顶部看空,淡气逼人'),colorccff33;
射击之星:=abs(close-open)<abs(high-if(isup,close,open)) and (abs(close-open))/close>0.004 and (abs(if(isup,open,close)-low))/close<=0.004;
非标准射击之星:=(abs(close-open))/close>0.004 and (abs(if(isup,open,close)-low))/close<=0.004 and (abs(high-if(isup,close,open)))/close>0.004;
explain(防伪=1 and 射击之星,' '+'射击之星'),colorff6600;
explain(防伪=1 and 射击之星,'升、跌、盘,转折预警'),colorffcc33;
explain(防伪=1 and 非标准射击之星 and not(射击之星),' '+'非标准射击之星'),colorff6600;
explain(防伪=1 and 非标准射击之星 and not(射击之星),'非标准的射击之星,但具有参考意义'),colorffcc33;
explain(防伪=1 and 射击之星,'可靠性排序四');
锤头:=(abs(if(isup,close,open)-high))/close<0.004 and low<if(isup,open,close) and (if(isup,open,close)-low)/(if(isup,close,open)-if(isup,open,close))>=2;
非标准锤头:=(abs(if(isup,close,open)-high))/close>0.004 and (abs(if(isup,close,open)-high))/close<0.001 and low<if(isup,open,close);
explain(防伪=1 and 锤头,' '+'锤头'),colorff6600;
explain(防伪=1 and 锤头,'转折信号,上影越短下影越长可靠度越高'),colorffcc33;
explain(防伪=1 and 锤头,'低谷初阳或者高位初阴可靠度更高'),colorffcc33;
explain(防伪=1 and 非标准锤头 and not(锤头),' '+'非标准锤头'),colorff6600;
explain(防伪=1 and 非标准锤头 and not(锤头),'严格地说这不是一个锤头,但具有转折参考意义'),colorffcc33;
explain(防伪=1 and 锤头,'可靠性排序四');
穿头破脚:=isdown and ref(isup,1) and open>ref(close,1) and close<ref(open,1) or isup and ref(isdown,1) and open<ref(close,1) and close>ref(open,1);
穿两日:=ref(isup,2) and open>ref(close,2) and close<ref(open,2) or ref(isdown,2) and open<ref(close,2) and close>ref(open,2);
explain(防伪=1 and 穿头破脚,' '+'穿头破脚'),colorff6600;
explain(防伪=1 and 穿头破脚 and isup,'若低位,收阳,则反转上升'),color6633cc;
explain(防伪=1 and 穿头破脚 and isup,'若高位,收阳,盘整向下'),color6633cc;
explain(防伪=1 and 穿头破脚 and isdown,'若高位,收阴,则反转下降'),colorccff33;
explain(防伪=1 and 穿头破脚,'翌日确认的信号更加可靠'),colorffcc33;
explain(防伪=1 and 穿头破脚 and vol>ref(vol,1),'配合交易量放大,可靠度较高'),colorffcc33;
explain(防伪=1 and 穿头破脚 and 穿两日,'今日k线覆盖前两日,反转明显'),colorff6600;
explain(防伪=1 and 穿头破脚,'可靠性排序二');
乌云盖顶:=ref(isup,1) and isdown and ref(close/open>1.03,1) and close>ref(open,1) and close<ref(close,1) and open>ref(close,1) and open>ref(high,1) and (close-ref(open,1))/(ref(close,1)-close)<1.22;
非标准乌云盖顶:=ref(isup,1) and isdown and ref(close/open>1.03,1) and close>ref(open,1) and open>ref(close,1) and close-ref(open,1)<ref(close,1)-close;
explain(防伪=1 and 乌云盖顶,' '+'乌云盖顶'),colorff00;
explain(防伪=1 and 乌云盖顶,'行情见顶回落信号'),colorccff33;
explain(防伪=1 and 乌云盖顶,'影线越短越好并观察交易量是否存在夺路而逃的放大'),colorccff33;
explain(防伪=1 and 非标准乌云盖顶 and not(乌云盖顶),' '+'非标准乌云盖顶'),colorff00;
explain(防伪=1 and 非标准乌云盖顶 and not(乌云盖顶),'不是一个标准的乌云盖顶,若出现在顶部具有参考意义'),colorccff33;
explain(防伪=1 and 乌云盖顶,'可靠性排序六');
曙光初现:=ref(isdown,1) and isup and ref(close/open<0.97,1) and open<ref(close,1) and close<ref(open,1) and ref(open,1)-close<close-ref(close,1);
explain(防伪=1 and 曙光初现,' '+'曙光初现'),color3300ff;
explain(防伪=1 and 曙光初现,'行情见底升信号,影线越短越好'),color6633cc;
explain(防伪=1 and 曙光初现,'可靠性排序七');
身怀六甲:=ref(isup,1) and ref(close/open>1.03,1) and if(isup,close,open)<ref(close,1) and if(isup,open,close)>ref(open,1) or ref(isdown,1) and ref(close/open<0.97,1) and if(isup,close,open)<ref(open,1) and if(isup,open,close)>ref(close,1);
explain(防伪=1 and 身怀六甲,' '+'身怀六甲'),colorff6600;
explain(防伪=1 and 身怀六甲,'力度减弱,行情趋缓或者转势'),colorffcc33;
explain(防伪=1 and 身怀六甲 and isdown,'高位多为见顶转跌'),colorccff33;
explain(防伪=1 and 身怀六甲 and isdown,'低位多为缓跌慢升'),colorffcc33;
explain(防伪=1 and 身怀六甲 and isup,'低位多为见底转升'),color6633cc;
explain(防伪=1 and 身怀六甲 and isup,'高位多为冲高速降'),colorccff99;
explain(防伪=1 and 身怀六甲 and close=open,'十字胎趋缓转折'),colorff6600;
explain(防伪=1 and 身怀六甲,'可靠性排序五');
平顶:=ref(high,1)>ref(high,2) and (ref(high,1)=high or if(isup,close,open)=if(ref(isup,1),ref(close,1),ref(open,1))) and close<hhv(high,2);
平底:=ref(low,1)<ref(low,2) and ref(low,1)=low or if(isup,open,close)=if(ref(isup,1),ref(open,1),ref(close,1));
explain(防伪=1 and 平顶,' '+'平顶'),colorff6600;
explain(防伪=1 and 平顶,'转向形态,高位有效'),colorffcc33;
explain(防伪=1 and 平底,' '+'平底'),colorff6600;
explain(防伪=1 and 平底,'转向形态,低位有效'),colorffcc33;
explain(平底 or 平顶,'首先准确判断'),colorffcc33;
explain(平底 or 平顶,'是上升初、中、末期'),colorffcc33;
explain(平底 or 平顶,'还是下跌初、中、末期'),colorffcc33;
各种形态:=早晨 or 黄昏 or 十字星 or 射击之星 or 锤头 or 穿头破脚 or 乌云盖顶 or 曙光初现 or 身怀六甲 or 非标准乌云盖顶 or 非标准锤头;
explain(防伪=1 and 平底 and 各种形态,'平底组合其它形态,可信度高'),colorff6600;
explain(防伪=1 and 平顶 and 各种形态,'平顶组合其它形态,可信度高'),colorff6600;
好友反攻:=isup and ref(isdown,1) and close=ref(close,1);
explain(防伪=1 and 好友反攻,' '+'好友反攻'),color3300ff;
explain(防伪=1 and 好友反攻,'见底反攻形态'),color6633cc;
淡友反攻:=isdown and ref(isup,1) and close=ref(close,1);
explain(防伪=1 and 淡友反攻,' '+'淡友反攻'),colorff00;
explain(防伪=1 and 淡友反攻,'见顶反攻形态'),colorccff33;
三兵:=all(isup,3) and all(close>ref(close,1),2) and ref(isdown,3) and all(涨幅比>0.5,3);
大兵:=all(涨幅比>ref(涨幅比,1),2) and 三兵;
小兵:=all(涨幅比<ref(涨幅比,1),2) and 三兵;
explain(防伪=1 and (小兵 or 大兵),' '+'三兵形态'),colorff6600;
explain(防伪=1 and 大兵,'放大三阳,后市看好'),color6633cc;
explain(防伪=1 and 小兵,'缩小三阳,后市看淡,第三k线影线较长,蜡烛部分较短'),colorccff33;
两只乌鸦:=ref(close,1)>ref(if(isup,close,open),2) and open>ref(open,1) and close<ref(close,1) and all(isdown,2);
explain(防伪=1 and 两只乌鸦,' '+'两只乌鸦'),colorff00;
explain(防伪=1 and 两只乌鸦,'连续高开却上冲无力'),colorccff33;
explain(防伪=1 and 两只乌鸦,'特别注意在高位的信号'),colorccff33;
explain(防伪=1 and 两只乌鸦,'若在中期出现,需要对消息面和人气进行分析'),colorff6600;
explain(防伪=1 and 两只乌鸦,'若在低位出现说明人气开始回升只是力量还不够,可以在之后的适当价位介入'),colorffcc33;
三只乌鸦:=all(isdown,3) and all(close<ref(close,1),2) and all(open<ref(open,1) and open>ref(close,1),2);
explain(防伪=1 and 三只乌鸦,' '+'三只乌鸦'),colorff00;
explain(防伪=1 and 三只乌鸦,'行情严重向淡'),colorccff33;
塔形顶:=跌幅比>3 and barslast(涨幅比>3) and all(if(isup,close,open)>open and if(isup,close,open)>ref(close,barslast(涨幅比>3)),barslast(涨幅比>3));
explain(防伪=1 and 塔形顶,'塔形顶');
上升三部曲预备:=ref(涨幅比,barslast(isup))>any(跌幅比,barslast(isup)-1) and all(isdown,barslast(isup)-1) and ref(close,barslast(isup))>hhv(open,barslast(isup)-1) and ref(open,barslast(isup))<llv(close,barslast(isup)-1);
explain(防伪=1 and 上升三部曲预备,'上升三部曲前奏'),color3300ff;
explain(防伪=1 and 上升三部曲预备,'连续的下跌却一直没有跌破前一根阳线'),color6633cc;
explain(防伪=1 and 上升三部曲预备,'后期看涨可以介入'),color6633cc;
explain(防伪=1 and 上升三部曲预备,'建议等待阳线确认上升'),color6633cc;
看好:=早晨 or ref(十字星,1) and isup or 穿头破脚 and isup or 曙光初现 or 平底 and low=llv(low,4) or 好友反攻 or 大兵;
看空:=黄昏 or ref(十字星,1) and isdown or 垂死十字 or 穿头破脚 and isdown or 乌云盖顶 or 非标准乌云盖顶 or 平顶 or 淡友反攻 or 小兵;
中立:=射击之星 or 十字星 or 锤头 or 非标准锤头 or 非标准射击之星 or 身怀六甲;
交易量比较:=vol>ref(vol,2)*1.05;
蜡烛跳空:=if(isup,open,close)>ref(if(isup,close,open),1) or if(isup,close,open)<ref(if(isup,open,close),1);
跳空:=low>ref(high,1) or high<ref(low,1);
连续跳空:=ref(跳空,1) and 跳空;
explain(1,' '+'附加k线确认'),colorffff;
explain(防伪=1 and ref(看好,1) and isup,'收阳确认昨日信号'),color3300ff;
explain(防伪=1 and ref(看空,1) and isdown,'收阴确认昨日信号'),colorff00;
explain(防伪=1 and ref(看空,1) and isup,'收阳降低了昨日信号的向淡强度'),colorccff99;
explain(防伪=1 and ref(看好,1) and isdown,'收阴降低了昨日信号的向好强度'),colorccff99;
explain(防伪=1 and (早晨 or 黄昏),'请自行分析买卖力道是否存在由被动性沽盘到主动性沽盘的转变'),colorffcc33;
explain(防伪=1 and 跳空 and (看好 or 看空 or 中立),'跳空出现的星体信号,可靠度高,而且星体越小越可靠'),colorffcc33;
explain(防伪=1 and 连续跳空 and (ref(看好 or 看空 or 中立,1)),'再次跳空确认昨天的星体信号高度可靠'),colorffcc33;
explain(防伪=1 and ref(锤头,1) and isdown and close<ref(low,1),'今日走跌是对昨日锤头见顶信号的确认'),colorccff33;
explain(防伪=1 and ref(上升三部曲预备,1) and isup and 涨幅比>3,'阳线收复下跌空间拉升在即'),color3300ff;
explain(1,' '+'附加指标确认'),colorffff;
var01:=(2*close+high+low)/4;
var02:=wma(wma(wma(var01,4),4),4);
j:=(var02-ref(var02,1))/ref(var02,1)*100;
d:=ma(j,3);
k:=ma(j,1);
高级macd出现:=any(cross(k,d),3) and not(any(cross(d,k),3)) and 看好 or any(cross(d,k),3) and not(any(cross(k,d),3)) and 看空;
explain(防伪=1 and 高级macd出现,' '+'高级macd'),colorff6600;
explainicon(防伪=1 and any(cross(k,d),2) and not(any(cross(d,k),2)) and 看好,2);
explainicon(防伪=1 and any(cross(d,k),2) and not(any(cross(k,d),2)) and 看空,1);
explain(防伪=1 and 高级macd出现,'中低参考');
var002:=ref(low,1);
var003:=(sma(abs(low-var002),13,1))/(sma(max(low-var002,0),13,1))*100;
var004:=ema(if(close*1.2,var003*13,var003/13),13);
var005:=llv(low,34);
var006:=hhv(var004,34);
var007:=if(llv(low,56),1,0);
var008:=(ema(if(low<=var005,(var004+var006*2)/2,0),3))/(618)*var007;
var009:=ema(close,5);
var0010:=(close-ma(close,34))/ma(close,34)*(-10);
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
抄底:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
跟进:=var008>ref(var008,1);
explain(防伪=1 and (any(跟进 or 抄底,3)) and 看好,' '+'跟庄抄底'),colorff6600;
explainicon(防伪=1 and (any(跟进 or 抄底,3)) and 看好,3);
explain(防伪=1 and (any(跟进 or 抄底,3)) and 看好,'形态位置向好前提下配合信号介入成功率极高');
explain(防伪=1 and (any(跟进 or 抄底,3)) and 看好,'中高参考');
drawicon(防伪=1 and (any(跟进 or 抄底,3)) and 看好,2,1);
线1:=(ma(close,5)+ma(close,10)+ma(close,25))/3;
线2:=(ma(close,5)+ma(close,10)+ma(close,20)+ma(close,30)+ma(close,60)+ma(close,120))/6;
线3:=(ma(close,20)+ma(close,60)+ma(close,120))/3;
线4:=(ma(close,13)+ma(close,34)+ma(close,55))/3;
explain(防伪=1 and cross(线1,线4),' '+'跟进买入'),colorff;
explainicon(防伪=1 and cross(线1,线4),4);
explain(防伪=1 and cross(线1,线4),'高度参考');
drawicon(防伪=1 and cross(线1,线4),4,3);
varl1:=100-90*(hhv(high,21)-close)/(hhv(high,21)-llv(low,21));
varl2:=100-90*(hhv(high,21)-close)/(hhv(high,21)-llv(low,21));
varl3:=100-ma(100*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6)),34);
drawicon(防伪=1 and cross(varl2,ma(varl3,6)) and 看好,6,6);
explain(防伪=1 and if(not(高级macd出现) and not((any(跟进 or 抄底,3)) and 看好) and not(cross(线1,线4)),1,0),' '+'无'),colorff6600;
drawicon(看好,10,6);
drawicon(看空,10,7);
>>>使用本站搜索工具可以找到更多“超级解盘公式 飞狐指标 源码”