鳄鱼线,因混沌交易法而有来,因此,关于其经典的用法,看混沌交易法和证券交易空间。但这两本书关键的论述,是在于第一本中的案例中资金使用,即我们常说的资金管理。指标不是万能的,在没进场交易,永远不知道是对是错,关键的是错的时候损失最小,对的时候盈利最大。
y:=(high+low)/2; blue:=sma(y,13,1); red:=sma(y,8,1); green:=sma(y,5,1); b2:=ref(blue,8); r2:=ref(red,5); g2:=ref(green,3); ku1:=if(high=hhv(high,3),1,0); kd1:=if(low=llv(low,3),1,0); ul:=if(ref(ku1,2)=1 and ref(ku1,1)=0 and ku1=0,ref(high,2),ref(high,2+(barslast(ref(ku1,2)=1 and ref(ku1,1)=0 and ku1=0)))); dl:=if(ref(kd1,2)=1 and ref(kd1,1)=0 and kd1=0,ref(low,2),ref(low,2+(barslast(ref(kd1,2)=1 and ref(kd1,1)=0 and kd1=0)))); ku:=if(close>b2 and close>r2 and close>g2,1,0); kd:=if(close<b2 and close<r2 and close<g2,-1,0); kk:=if((barslast(ku=1 and ref(ku,1)=0))<(barslast(kd=-1 and ref(kd,1)=0)),1,-1); ao:=ma(y,5)-ma(y,34); ac:=ma(ao-ma(ao,5),5); ac1:=ref(ac,1); ao1:=ref(ao,1); ao转:(170*ma(y,5)-170*ma(y,34)+165*ma(y,33)-136*ma(y,4))/29,linethick0; ao零:(165*ma(y,33)-136*ma(y,4))/29,linethick0; ac转:(165*ma(y,33)-136*ma(y,4)+170*(4*ma(ao,4)+5*(ref(ao,4)-ma(ref(ao,4),5)))/4)/29,linethick0; ac零:(170*4*ma(ao,4)+20*33*ma(y,33)-16*34*ma(y,4)-170*5*4*(ma(ao-ma(ao,5),4)))/116,linethick0; kac:=if(ac>ac1 and ao>ao1,1,0); kao:=if(ac<ac1 and ao<ao1,-1,0); 蓝:sma(y,13,1),shift8,colorff0000; 红:sma(y,8,1),shift5,colorff; 绿:sma(y,5,1),shift3,colorff00; 上碎型:if(high>=r2,ul,ref(ul,barslast(high>r2))),linethick0,colorff00ff; 下碎型:if(low<=r2,dl,ref(dl,barslast(low<=r2))),linethick0,colorffff; stickline(barslast(abs(上碎型-ref(上碎型,1)))<(barslast(close>上碎型 and ref(close,1)<ref(上碎型,1))),上碎型,上碎型,3,1),colorff00ff; stickline(barslast(abs(下碎型-ref(下碎型,1)))<(barslast(close<下碎型 and ref(close,1)>ref(下碎型,1))),下碎型,下碎型,3,1),colorffff; ol:=(170*ma(y,5)-170*ma(y,34)+165*ma(y,33)-136*ma(y,4))/29; cl:=(165*ma(y,33)-136*ma(y,4)+170*(4*ma(ao,4)+5*(ref(ao,4)-ma(ref(ao,4),5)))/4)/29; h1:=ref(high,4); h2:=ref(high,3); h3:=ref(high,2); h4:=ref(high,1); h5:=high; l1:=ref(low,4); l2:=ref(low,3); l3:=ref(low,2); l4:=ref(low,1); l5:=low; ‖:=h3>h2 and h3>h1 and h3>h4 and h3>h5; ‖fractal:=if(‖,1,0); ‖var1:=backset(‖fractal,3); ‖var2:=filter(‖var1,2); ‖var3:=backset(‖fractal,5); ∣:=l3<l2 and l3<l1 and l3<l4 and l3<l5; ∣fractal:=if(∣,1,0); ∣var1:=backset(∣fractal,3); ∣var2:=filter(∣var1,2); ∣var3:=backset(∣fractal,5); drawicon(‖var2,high*1.001,'s14'); drawicon(∣var2,low,'s14'); drawicon(close>上碎型 and ref(close,1)<ref(上碎型,1),high*1.015,4); drawicon(close<下碎型 and ref(close,1)>ref(下碎型,1),low*0.99,5); drawicon(ku=1 and ref(ku,1)=0 and close<0,low,4); drawicon(kd=-1 and ref(kd,1)=0 and close<0,high*1.01,5); drawicon(ku=0 and ref(ku,1)=1 and close<0,high*1.01,7); drawicon(kd=0 and ref(kd,1)=-1 and close<0,low,6); stickline(kac=1 and close>=open,open,close,8,1),colorff; stickline(kao=-1 and close>=open,open,close,8,1),color6600; stickline(kao=0 and kac=0 and close>=open,open,close,8,1),color808080; stickline(close>=open,high,close,0.4,1),colorff; stickline(close>=open,open,low,0.4,1),colorff; stickline(kac=1 and close<open,open,close,8,0),colorff; stickline(kao=-1 and close<open,open,close,8,0),color6600; stickline(kao=0 and kac=0 and close<open,open,close,8,0),color808080; stickline(open>close,high,open,0.4,1),colorffff00; stickline(open>close,close,low,0.4,1),colorffff00; explain(close>上碎型 and ref(close,1)<ref(上碎型,1),'向上有效碎型/n被突破'),colorffff00; explain(close<下碎型 and ref(close,1)>ref(下碎型,1),'向下有效碎型被突破'),colorffff00; explainex(barslast(abs(上碎型-ref(上碎型,1)))<(barslast(close>上碎型 and ref(close,1)<ref(上碎型,1))),'有效上碎型:',上碎型,2,1); explainex(barslast(abs(下碎型-ref(下碎型,1)))<(barslast(close<下碎型 and ref(close,1)>ref(下碎型,1))),'有效下碎型:',下碎型,2,1); explain(kac=1,'ao与ac为多方趋势'); explain(kao=-1,'ao与ac为空方趋势'); explain(kac=0 and kao=0,'注意动量趋势是否即将反转'); explain((ref(kao,2)=-1 or ref(kac,2)=0 and ref(kao,2)=0) and ref(kac,1)=1 and kac=1,'红色区域多单进场'); explain((ref(kac,2)=1 or ref(kac,2)=0 and ref(kao,2)=0) and ref(kao,1)=-1 and kao=-1,'绿色区域空单进场'); explain((ref(kao,4)=-1 or ref(kac,4)=0 and ref(kao,4)=0) and ref(kac,3)=1 and ref(kac,2)=1 and ref(kac,1)=1 and kac=1,'红色区域多单停止加码'); explain((ref(kac,4)=1 or ref(kac,4)=0 and ref(kao,4)=0) and ref(kao,3)=-1 and ref(kao,2)=-1 and ref(kao,1)=-1 and kao=-1,'绿色区域空单停止加码'); ka:=if(green>red and red>blue,1,if(green<red and red<blue,-1,0)); explain(ka=1,'鳄鱼向上张嘴, 作多不作空'); explain(ka=-1,'鳄鱼向下张嘴, 作空不作多'); explain(ka=0,'鳄鱼沈睡中,观望为主'); d3u:=hhv(ref(high,1),3); d3l:=llv(ref(low,1),3); k3k:=if(close>d3u,1,if(close<d3l,-1,if((barslast(close>d3u))<(barslast(close<d3l)),1,-1))); explain(k3k=1,'短线多方趋势'); explain(k3k=-1,'短线空方趋势'); explainex(close>0,'短线反转价:',if(k3k=1,d3l,d3u),2,1); explain(close<b2 and b2<ref(b2,1),'中期空方趋势'); explain(close<b2 and b2>=ref(b2,1),'怀疑中期空方'); explain(close>b2 and b2>=ref(b2,1),'中期多方趋势'); explain(close>b2 and b2<ref(b2,1),'怀疑中期多方');
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文新版鳄鱼线(混沌交易法)公式下载 飞狐新版指标 源码仅供学习研究。