current=c;
period=1;
ave:ma(c,period),coloryellow;
ave3=ma(c,2);
season:ma(c,52),colorcyan,linethick2,pointdot;
//spring:ma(c,17),colorgreen,linethick2,;
//summer:ma(c,26),colorred,linethick2,;
fall:ma(c,100),colorred,linethick2;
fallave=ma(fall,3);
//辰:=ma(c,145),nodraw;
//卯:=ma(c,455),nodraw;
//申:=ma(c,320),nodraw;
//亥:=ma(c,732),nodraw,notext;;
zeros:=0;
one:1,nodraw,white;
//aves:=0; // smooth
//aves =c*(exp(-1/abs(vol-ref(vol,1))/ref(vol,1)) + exp(0))/2;
//aves = aves + ref(c,1) *(exp(-1/(abs(ref(vol,1)-ref(vol,2))/ref(vol,2))) + exp(-1))/2;
//aves = aves + ref(c,2)*(exp(-1/abs(ref(vol,2)-ref(vol,3))/ref(vol,3))+ exp(-2))/2;
//ave:aves/2,coloryellow;
//for k=0 to period-1 do begin
// deltavol = (ref(vol,k)-ref(vol,k+1))/ref(vol,k) + 1e-10;
// w=exp(-k)+exp(-1/deltavol);
// aves= aves + w*ref(c,k);
//end
//ave:=aves/period;
crossagain = cross(ref(ave,1),fall) or cross(ref(ave,2),fall) or cross(ref(ave,3),fall) or cross(ref(ave,4),fall) or cross(ref(ave,5),fall);
春暖花开:= cross(ave,fall) and ave>ref(ave,1) and macd>0 and cci>90 and ave> ma(ave,5) and fall>ref(fall,1) and ma(vol,period)>1.5*ref(ma(vol,period),1);
春光乍泄:= cross(ave,fallave) and 春暖花开<=0 ;
十里桃花: 春暖花开 or 春光乍泄,colorcyan,nodraw;
秋风落叶: cross(fall,ave3),colorgreen,nodraw;// and high<fall;
drawicon(春光乍泄,fall-0.1,'buy');
drawicon(春暖花开,fall-0.1,'buy');
drawicon(秋风落叶,fall+0.1,'sell');
//barslastcount(春光乍泄)<5
drawtext(春光乍泄 and count(春光乍泄,8)<2,fall*0.96,'+春光乍泄'),colorcyan;//color0050f7;
drawtext(春暖花开 and count(春暖花开,8)<2,fall*0.96,'+春暖花开'),coloryellow;
drawtext(秋风落叶 and count(秋风落叶,8)<2,fall*1.05,'-秋风落叶'),colorgreen;
//站上午线
/*
生命之光:= cross(close,season,5) and close>ref(close,1) and close> ma(close,5); //站上季线
早春播种:= cross(spring,summer) and (spring>ref(spring,1)) and macd>0 and cci>100 and close> ma(close,5) and close>season,nodraw; //强势// 通子金叉
初春曙光:= (cross(spring,summer) and (spring>ref(summer,1))) and (close> ma(close,5)) and (早春播种<=0) ; // 通子金叉
金秋收获:= cross(summer,fall) and (summer>ref(summer,1)) and macd>0 and cci>90 and close> ma(close,5) and c>season,nodraw; // 强势子金午叉
秋季耕作:= (cross(summer,fall) and (summer>ref(summer,1))) and (close> ma(close,5)) and (金秋收获<=0) ,nodraw; //// 子金午叉
春光流逝:= cross(summer,spring) and spring<ref(spring,1); // 通子死叉
冬季寒流:= cross(fall,summer) and summer<ref(summer,1); // 子金死叉
drawicon(初春曙光,spring-0.1,'buy');
drawicon(早春播种,spring-0.1,'buy');
drawicon(春光流逝,spring+0.1,'sell');
drawicon(秋季耕作,fall+0.1,'buy');
drawicon(金秋收获,fall+0.1,'buy');
drawicon(生命之光,season+0.1,11);
drawicon(冬季寒流,summer+0.1,'sell');
drawtext(初春曙光,spring*0.93,'初春曙光'),colormagenta;
drawtext(早春播种,spring*0.93,'早春播种'),colorred;
drawtext(秋季耕作,fall*0.93,'秋季耕作'),coloryellow;
drawtext(金秋收获,fall*0.93,'金秋收获'),color0050f7;
drawtext(生命之光,season*1.1,'生命之光'),color0050f7;
drawtext(春光流逝,spring*1.1,'春光流逝'),colorwhite;
drawtext(冬季寒流,summer*1.1,'冬季寒流'),colorgreen;
//drawtext(春耕季节,season+0.5,'春耕季节'),colorcyan;
//多方趋势:((7)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1))-(3)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1))-sma(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1),2,1)),color0000ff;
//空方趋势:(ema(ma(多方趋势,5),7)),colorf0f000;
lowarea_thres:=16; // 钻石底低吸区阈值
diamond_thres:=12; //探测钻石矿阈值
pit_thres:=21; // 钻石底空方阈值
zeros:0,nodraw,linethick0;
*/
多方趋势:=((7)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1))-(3)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1))-sma(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1),2,1)),color0000ff;
空方趋势:=(ema(ma(多方趋势,5),7)),colorf0f000;
lowarea_thres:=16; // 钻石底低吸区阈值
diamond_thres:=12; //探测钻石矿阈值
pit_thres:=21; // 钻石底空方阈值
zeros:0,nodraw,linethick0;
最新价:=c,nodraw,notext;
highrisk:=多方趋势> 75 or 空方趋势>75;
多方势增:= (ref(多方趋势,1) < 多方趋势) and 多方趋势>空方趋势;
//stickline((空方趋势<=多方趋势),空方趋势,多方趋势,3,0),color0000ff;
//stickline((多方趋势>76) and (多方趋势>=空方趋势),空方趋势,多方趋势,5,1),colorff33ff;
//stickline((空方趋势>多方趋势),多方趋势,空方趋势,3,0),colorf0f000;
低吸区:=(空方趋势<18) and (空方趋势>多方趋势) and (ref(空方趋势,1) > 空方趋势) and (ref(多方趋势,1) < 多方趋势);
//stickline(低吸区,多方趋势,空方趋势*1.15,3,0),color00ffff;
//tj:=filter(低吸区,5);
//drawtext(tj,空方趋势*1.8,'低吸'),colorffff00;
探钻石矿:=(空方趋势<12) and (空方趋势<=多方趋势),color00ffff;
钻石底:=cross(多方趋势,空方趋势) and (空方趋势<pit_thres),color0000ff;
drawtext(cross(多方趋势,空方趋势) and (空方趋势<pit_thres),ave*0.96,'+金钻'),color00ffff;
钻石底or低吸:=(低吸区 or 钻石底) and (macd>ref(macd,1)); // 低吸区或钻石底,且macd绿色渐小或红色增多趋势.
//中间线:50,colorffffff,pointdot;//www.goodgongshi.com
tj1:=cross(探钻石矿 or 钻石底,0.5);
tj2:=cross(空方趋势,多方趋势);
tj3:=count(tj2,barslast(tj1));
drawicon(tj1,ave,11);
//drawicon(tj2 and tj3=1,ave+1.05,15);
drawicon(tj2 and tj3=1,ave+0.1,12);
drawtext(tj2 and tj3=1,ave+0.3,'出'),color00ff00;
上一指标公式:电磁炮指标公式详解 同花顺电磁炮
下一指标公式:王京新多陆空指标公式详解 同花顺陆空
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文春华秋实_GSW指标公式详解 同花顺春华秋实仅供学习研究。