武刘香 发表于 2011-6-7 11:28

精准顶底---通达信公式

精准顶底---通达信公式V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),COLORBLUE;
主力进: IF(V4>=0,V4,0),COLORFF00FF;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:IF(VB>=0,VB,0),COLORRED;
大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,20,2,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;
见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1)
DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(大盘资金进场 AND 趋势线<13,0,30,2,0),COLORRED;
STICKLINE(大盘资金撤走 AND 趋势线>90,0,30,2,0),COLORGREEN;
STICKLINE(主力进 AND 趋势线<13,0,40,2,0),COLORFF00FF;
STICKLINE(主力撤 AND 趋势线>90,0,40,2,0),COLORBLUE;

八翼天使luo 发表于 2020-10-11 21:49

GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
B:=BARSLAST(CROSS(GJTJ4,GJTJ2));
D:=GJTJ3<GJTJ4 GJTJ2<GJTJ4;
E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
F:=GJTJ2<GJTJ3 AND GJTJ1="100;
B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;
ENTERLONG:A AND B AND D AND E AND F;

丘思甲 发表于 2015-1-16 13:41

我觉得:“低头思股仓”更好,哈

7秒记忆 发表于 2020-10-1 00:16

红一品 发表于 2020-8-28 18:52
谢楼主的分享,学习!


谢楼主的分享,学习!

布衣寒士 发表于 2011-6-7 12:05

当前公式 : 精准顶底 (指标画线公式)
错误句 :
见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) ,DRAWTEXT( 见顶清仓,90,23),COLORYELLOW
详细信息 :
错误起始位置 : 1010 ; 长度: 9

妙方 发表于 2011-6-7 12:05

谢谢分享。。。。。。

独孤无羁 发表于 2011-6-7 12:27

@@@@@@@@@@@@@@@!!!!!!!!!!!!!!!!!!!!!!!!!

秋实实 发表于 2011-6-7 12:29

谢谢分享,辛苦了。
此件不能用为何?:'(

逝去的流星 发表于 2011-6-7 12:43

楼主copy的??有没有测试?

迎秋 发表于 2011-6-7 12:54

:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) ,
转载请注明出自股海明灯论坛 http://www.178448.com/,本贴地址:http://www.178448.com/thread-283398-1-1.html

王莹 发表于 2011-6-7 13:15

谢谢分享,辛苦了。

大连 发表于 2011-6-7 14:07

军长就是高!谢谢分享。

王祥 发表于 2011-6-7 14:34

:handshake

武刘香 发表于 2011-6-7 15:40

抱歉,我只能在此更正一下原贴:

V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),COLORBLUE;
主力进: IF(V4>=0,V4,0),COLORFF00FF;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:IF(VB>=0,VB,0),COLORRED;
大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,20,2,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;
见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);
DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(大盘资金进场AND 趋势线<13,0,30,2,0),COLORRED;
STICKLINE(大盘资金撤走AND 趋势线>90,0,30,2,0),COLORGREEN;
STICKLINE(主力进 AND 趋势线<13,0,40,2,0),COLORFF00FF;
STICKLINE(主力撤 AND 趋势线>90,0,40,2,0),COLORBLUE;

股思考 发表于 2011-6-7 16:18

A: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=2;
xdkx1518:STICKLINE(CROSS(A,底部),0,100,2,0),colorffcc00,LINETHICK1;
九九零八一:STICKLINE(CROSS(A,底部),0,100,2,0),colorffcc00,LINETHICK1;
com:STICKLINE(CROSS(A,底部),0,100,2,0),colorffcc00,LINETHICK1;
cn:STICKLINE(CROSS(A,底部),0,100,2,0),colorffcc00,LINETHICK1;
Var1:=REF(CLOSE,0);


明天会涨: IF(CROSS(A,底部),100,0)*Var1,stick, linethick4,coloryellow;
100;
50;

邓友谊 发表于 2011-7-9 15:07

学习学习学习

好放牛娃 发表于 2012-4-9 14:33

好好好好好

好放牛娃 发表于 2012-4-9 14:34

学习学习学习
页: [1] 2 3 4
查看完整版本: 精准顶底---通达信公式