股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力全红指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-6-4 09:11:02

主力:=(CLOSE*2+HIGH+LOW+O)/4; 散户:=EMA(主力,11)-EMA(主力,20); 量比:=EMA(散户,5); 空:=(-2)*(散户-量比)*5; 多:=2*(散户-量比)*5; QS:=MA(C,5); QS2:=MA(MA(C,5),6); 趋势:=2*(QS-QS2); FFF:=趋势>REF(趋势,1) AND 趋势>0; DX:=EMA(CLOSE,30)-EMA(CLOSE,120); CX:=EMA(DX,10); MAMA:=2*(DX-CX); 长线趋势:=MAMA>REF(MAMA,1) AND MAMA>0; AAA:=长线趋势; BBB:=NOT(长线趋势); DDD:=多>0; EEE:=空>0; YUWEI:=MA(CLOSE,1)-MA(CLOSE,5); GGG:=YUWEI>0 AND YUWEI>REF(YUWEI,1) AND FFF; TY:=H; NN:=120; 最高2:=CONST(HHV(H,NN)); 最低2:=CONST(LLV(L,NN)); PP:=IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((最高2*0.9-(最高2-最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW; RCC1:=最高2*0.9-(最高2-最低2)*PP; 最低3:=MIN(RCC1,最低2); AA1:=最低3; 获利筹码:=MA(100*WINNER(C),1)<=15 AND MA(100*WINNER(C),1)>10; 获利筹码2:=MA(100*WINNER(C),1)<=10 AND MA(100*WINNER(C),1)>5; 获利筹码3:=MA(100*WINNER(C),1)<=5 AND MA(100*WINNER(C),1)>1; 获利筹码4:=MA(100*WINNER(C),1)<=1; STICKLINE(AAA,AA1-0.000*AA1,AA1-0.040*AA1,4,0),COLORRED; STICKLINE(BBB,AA1-0.000*AA1,AA1-0.040*AA1,4,1),COLORLIGREEN; STICKLINE(EEE,AA1-0.050*AA1,AA1-0.090*AA1,4,1),COLORLIGREEN; STICKLINE(DDD,AA1-0.050*AA1,AA1-0.090*AA1,4,0),COLORRED; DRAWTEXT(FFF,AA1-0.058*AA1,'★'),COLORYELLOW; DRAWTEXT(GGG,AA1-0.083*AA1,'★'),COLORYELLOW; DRAWTEXT(获利筹码,AA1-0.020*AA1,'15'),COLORCYAN; DRAWTEXT(获利筹码2,AA1-0.020*AA1,'10'),COLORGREEN; DRAWTEXT(获利筹码3,AA1-0.020*AA1,'5'),COLORYELLOW; DRAWTEXT(获利筹码4,AA1-0.020*AA1,'1'),COLORYELLOW;








回复

举报

QQ|

GMT+8, 2024-11-16 17:58

快速回复 返回顶部 返回列表