发布网友 发布时间:2022-03-27 18:41
共1个回答
热心网友 时间:2022-03-27 20:10
时间窗指标 我在创幻见的,给大家分享一下。以下是引用: 公式解析: AA10:10天收盘价加权平均 BB10:三角函数反正切值求值 斜率=价差/时间差*∏*10(∏=圆周率、乘十=去一位小数,) 因为ref(X,A)引用若干周期前数据函数的周期取1,所以时间差可忽略。 斜率大于1 不就是大于45度(要温习三角函数哦!高中的,晕!) 画柱状线 以下以此类推! 公式用意: 用短线10天均线,中线临界点20天均线作为两套股价支撑均线系统!以上升斜率大于45度作为多空分界,并附以10、20均线金死叉增强效果! 公式引申: 对股价角度的看法是90~85度超强势、85~70度强势、70~45度多方主导、15~345度盘整、315~290度空方主导、290~275度弱势、275~270度极弱势。有了这些我们能不能拥有多空**、***之类的区分强弱的公式,股价角度只是区分强弱的冰山一角! 指标引入了未来数据,对未来函数应这样看,其实我们每天看实盘就是应用未来函数,有很多变数!当趋势发生变化的时候我们会止损或平仓要么追涨,用这个函数是为了看清趋势,另一重要原因就是不做死多头或空军司令,当指标指示消失的时候告诉我们一个提示:这是个关键点股价趋势的变盘点,那么我们会空仓等待、辨明方向! 时间之窗:费尔南德兹极数,也就是时间之窗,当股价上涨--下跌这一循环趋势中所产生的时间之窗能够很好的划分股价不同时段。3、5、8、13、21是短线,34、55、89是中线,144、233、377是长线。 不同的时段操作思路应该不同,短线投机、中线波段、长线投资! 一般ZIG函数19天也就是时间之窗21天后趋势未变,那么就开始波段操作,89天之内股价趋势是上升!而在转向点后不出现3天时间之窗提示,是不应买入的!出现3天时间之窗提示应短线少量买入,快进快出!3、8、13分别代表介入点,5、21分别是卖出点,其他以此类推参考!(要点:上升下跌为股价一个趋势轮回,时间之窗只能运用这个轮回,下一个要从新开始) =============================================================== 用法之一 {布林线时间窗} BOLL : MA(CLOSE,26),POINTDOT,COLORWHITE,LINETHICK2; 上: BOLL +2*STD(CLOSE,26),POINTDOT,COLORGREEN,LINETHICK2; 下: BOLL -2*STD(CLOSE,26),POINTDOT,COLORRED,LINETHICK2; var31:=hhvbars(zig(3, 19)>ref(zig(3,19),1) and ref(zig(3,19), 1)<ref(zig(3,19), 2),0); stickline(var31=2,l*0.95,l*0.98,8,0),color0000ff; drawtext(var31=2,l*0.95,'3天'),coloryellow; stickline(var31=4,h*1.05,h*1.02,8,0),color9966ff; drawtext(var31=4,h*1.06,'5天'),coloryellow; stickline(var31=7,l*0.95,l*0.98,8,0),color00ffff; drawtext(var31=7,l*0.95,'8天'),coloryellow; stickline(var31=12,h*1.05,h*1.02,8,0),colorff33ff; drawtext(var31=12,h*1.06,'13天'),coloryellow; stickline(var31=20,l*0.95,l*0.98,8,0),color0066ff; drawtext(var31=20,l*0.95,'21天'),coloryellow; stickline(var31=33,h*1.05,h*1.02,8,0),colorffff00; drawtext(var31=33,h*1.06,'34天'),coloryellow; stickline(var31=54,l*0.95,l*0.98,8,0),color006600; drawtext(var31=54,l*0.95,'55天'),coloryellow; stickline(var31=88,h*1.05,h*1.02,8,0),color00ff00; drawtext(var31=88,h*1.06,'89天'),coloryellow; stickline(var31=143,l*0.95,l*0.98,8,0),colorccffff; drawtext(var31=143,l*0.95,'144天'),coloryellow; stickline(var31=232 ,h*1.05,h*1.02,8,0),colorff0033; drawtext(var31=232,h*1.06,'233天'),coloryellow; stickline(var31=376,l*0.95,l*0.98,8,0),colorff9966; drawtext(var31=376,l*0.95,'377天'),coloryellow; =============================================================== 用法之二 {单条变色线时间窗} ma10:ma(c,10); if(ma10>ref(ma10,1),ma10,0),Circledot,COLORRED,LINETHICK3; if(ma10<ref(ma10,1),ma10,0),Circledot,COLOR00FF00,LINETHICK3; var31:=hhvbars(zig(3, 19)>ref(zig(3,19),1) and ref(zig(3,19), 1)<ref(zig(3,19), 2),0); stickline(var31=2,l*0.95,l*0.98,8,0),color0000ff; drawtext(var31=2,l*0.95,'3天'),coloryellow; stickline(var31=4,h*1.05,h*1.02,8,0),color9966ff; drawtext(var31=4,h*1.06,'5天'),coloryellow; stickline(var31=7,l*0.95,l*0.98,8,0),color00ffff; drawtext(var31=7,l*0.95,'8天'),coloryellow; stickline(var31=12,h*1.05,h*1.02,8,0),colorff33ff; drawtext(var31=12,h*1.06,'13天'),coloryellow; stickline(var31=20,l*0.95,l*0.98,8,0),color0066ff; drawtext(var31=20,l*0.95,'21天'),coloryellow; stickline(var31=33,h*1.05,h*1.02,8,0),colorffff00; drawtext(var31=33,h*1.06,'34天'),coloryellow; stickline(var31=54,l*0.95,l*0.98,8,0),color006600; drawtext(var31=54,l*0.95,'55天'),coloryellow; stickline(var31=88,h*1.05,h*1.02,8,0),color00ff00; drawtext(var31=88,h*1.06,'89天'),coloryellow; stickline(var31=143,l*0.95,l*0.98,8,0),colorccffff; drawtext(var31=143,l*0.95,'144天'),coloryellow; stickline(var31=232 ,h*1.05,h*1.02,8,0),colorff0033; drawtext(var31=232,h*1.06,'233天'),coloryellow; stickline(var31=376,l*0.95,l*0.98,8,0),colorff9966; drawtext(var31=376,l*0.95,'377天'),coloryellow; =============================================================== 用法之三 {均线变色时间窗} A1:=Ma(C,5); A2:=Ma(C,21);{可以修改参数,如10、15等} A3:=(A1+A2)/2; IF (A1>A2,A1,A3),Colorred,linethick2; IF (A1>A2,A2,A3),Colorred,linethick2; IF (A1<=A2,A1,A3),Color00ff00,linethick2; IF (A1<=A2,A2,A3),Color00ff00,linethick2; A3,colorwhite,linethick2; var31:=hhvbars(zig(3, 19)>ref(zig(3,19),1) and ref(zig(3,19), 1)<ref(zig(3,19), 2),0); stickline(var31=2,l*0.95,l*0.98,8,0),color0000ff; drawtext(var31=2,l*0.95,'3天'),coloryellow; stickline(var31=4,h*1.05,h*1.02,8,0),color9966ff; drawtext(var31=4,h*1.06,'5天'),coloryellow; stickline(var31=7,l*0.95,l*0.98,8,0),color00ffff; drawtext(var31=7,l*0.95,'8天'),coloryellow; stickline(var31=12,h*1.05,h*1.02,8,0),colorff33ff; drawtext(var31=12,h*1.06,'13天'),coloryellow; stickline(var31=20,l*0.95,l*0.98,8,0),color0066ff; drawtext(var31=20,l*0.95,'21天'),coloryellow; stickline(var31=33,h*1.05,h*1.02,8,0),colorffff00; drawtext(var31=33,h*1.06,'34天'),coloryellow; stickline(var31=54,l*0.95,l*0.98,8,0),color006600; drawtext(var31=54,l*0.95,'55天'),coloryellow; stickline(var31=88,h*1.05,h*1.02,8,0),color00ff00; drawtext(var31=88,h*1.06,'89天'),coloryellow; stickline(var31=143,l*0.95,l*0.98,8,0),colorccffff; drawtext(var31=143,l*0.95,'144天'),coloryellow; stickline(var31=232 ,h*1.05,h*1.02,8,0),colorff0033; drawtext(var31=232,h*1.06,'233天'),coloryellow; stickline(var31=376,l*0.95,l*0.98,8,0),colorff9966; drawtext(var31=376,l*0.95,'377天'),coloryellow; ===============================================================