当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:潜伏王者信号量化主图,潜伏信号
软件名称:[B]潜伏王者信号量化主图,潜伏信号[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2024-09-11 00:15:32
软件简介:
潜伏王者信号量化主图,潜伏信号
编程思路
输出SWL:(收盘价的10日指数移动平均*7+收盘价的20日指数移动平均*3)/10
输出SWS:以1和100*(成交量(手)的5日累和/(3*当前流通股本(手)))的较大值为权重收盘价的20日指数移动平均的动态移动平均,DOTLINE,画白色
画带状线
当满足条件收阳线时,在收盘价和开盘价位置之间画柱状线,宽度为2.6,0不为0则画空心柱.,画红色
SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),DOTLINE,COLORWHITE;
DRAWBAND(SWL,RGB(255,100,100),SWS,RGB(64,204,208));
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.6,0),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
gspt2:=HHV(CLOSE,2);
gspt3:=LLV(CLOSE,2);
gspt4:=MA(CLOSE,3);
gspt5:=(3*CLOSE+LOW+OPEN+HIGH)/6;
gspt6:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
gspt7:=REF(gspt6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt8:=REF(gspt7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt9:=REF(gspt8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt10:=REF(gspt9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt11:=REF(gspt10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt12:=REF(gspt11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt13:=REF(gspt12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt14:=REF(gspt13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt15:=REF(gspt14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt16:=REF(gspt15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt17:=REF(gspt16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt18:=CLOSE< REF(CLOSE,1) AND CLOSE< REF(CLOSE,2);
gspt19:=REF(gspt18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt20:=REF(gspt19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt21:=REF(gspt20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt22:=REF(gspt21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt23:=REF(gspt22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt24:=REF(gspt23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt25:=REF(gspt24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt26:=REF(gspt25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt27:=REF(gspt26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt28:=REF(gspt27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
gspt29:=REF(gspt28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
gspt30:=REF(gspt18 OR gspt19 OR gspt20 OR gspt21 OR gspt22 OR gspt23 OR gspt24 OR gspt25 OR gspt26 OR gspt27 OR gspt28 OR gspt29,1) AND gspt6;
gspt31:=REF(gspt6 OR gspt7 OR gspt8 OR gspt9 OR gspt10 OR gspt11 OR gspt12 OR gspt13 OR gspt14 OR gspt15 OR gspt16 OR gspt17,1) AND gspt18;
gspt32:=gspt6 OR gspt7 OR gspt8 OR gspt9 OR gspt10 OR gspt11 OR gspt12 OR gspt13 OR gspt14 OR gspt15 OR gspt16 OR gspt17;
gspt33:=IF(gspt32,gspt3,DRAWNULL);
gspt34:=gspt33;
gspt35:=REF(gspt33,1);
gspt36:=gspt18 OR gspt19 OR gspt20 OR gspt21 OR gspt22 OR gspt23 OR gspt24 OR gspt25 OR gspt26 OR gspt27 OR gspt28 OR gspt29;
gspt37:=IF(gspt36,gspt2,DRAWNULL);
gspt38:=gspt37;
gspt39:=REF(gspt38,1);
gspt40:=gspt30;
gspt41:=gspt31;
gspt42:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100< (-14);
gspt43:=(20*gspt5+19*REF(gspt5,1)+18*REF(gspt5,2)+17*REF(gspt5,3)+16*REF(gspt5,4)+15*REF(gspt5,5)+14*REF(gspt5,6)+13*REF(gspt5,7)+12*REF(gspt5,8)+11*REF(gspt5,9)+10*REF(gspt5,10)+9*REF(gspt5,11)+8*REF(gspt5,12)+7*REF(gspt5,13)+6*REF(gspt5,14)+5*REF(gspt5,15)+4*REF(gspt5,16)+3*REF(gspt5,17)+2*REF(gspt5,18)+REF(gspt5,20))/211;
gspt44:=MA(CLOSE,26);
gspt45:=IF(gspt4>gspt43,gspt43,gspt4);
gspt46:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
gspt47:=HIGH-REF(HIGH,1);
gspt48:=REF(LOW,1)-LOW;
gspt49:=SUM(IF(gspt47>0 AND gspt47>gspt48,gspt47,0),14);
gspt50:=SUM(IF(gspt48>0 AND gspt48>gspt47,gspt48,0),14);
gspt51:=gspt49*100/gspt46;
gspt52:=gspt50*100/gspt46;
gspt53:=gspt51-gspt52;
gspt54:=gspt53>=0 AND REF(gspt53,1)< 0;
STICKLINE(ISLASTBAR AND (gspt32 OR REF(gspt32,1)=1),gspt35,gspt35,2.6,1),COLORRED;
STICKLINE(ISLASTBAR AND (gspt36 OR REF(gspt36,1)=1),gspt39,gspt39,2.6,1),COLORLIGRAY;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0,0),COLORRED;
STICKLINE(CLOSE< OPEN,LOW,HIGH,0,0),COLOR00BD00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.6,0),COLORRED;
STICKLINE(gspt32,CLOSE,OPEN,2.6,0),COLORRED;
STICKLINE(gspt36,CLOSE,OPEN,2.6,0),COLORLIGRAY;
gspt55:=CLOSE-OPEN;
STICKLINE(gspt42,OPEN,CLOSE-gspt55/2,2.6,0),COLORLIGRAY;
STICKLINE(gspt40,OPEN,CLOSE,2.6,0),COLORYELLOW;
STICKLINE(gspt40 AND gspt54,OPEN,CLOSE,2.6,0),COLORFF8000;
STICKLINE(gspt41,OPEN,CLOSE,2.6,0),COLORGREEN;
DRAWTEXT(gspt40 AND gspt54,LOW*0.99,'潜伏.....
公式和完整的源码在附件里提供
附件里的公式如上图,1个主图,不加密,提供源码文本txt。
自己可以根据源码写写潜伏信号,
或者联系在线咨询来编写。
[url=http://www.70822.com/soft/sort013/sort05/down-174877.html]潜伏王者信号量化主图,潜伏信号[/url]