分析家黄金分割公式源码是什么?
2016-6-3 15:27:32 股票入门 http://rumen.southmoney.com
分析家黄金分割公式源码是什么?附:分析家黄金线大涨主图公式 南方财富网小编为您提供
【分析家黄金分割公式源码】
lhnh:=BARSLAST(DISPSTATUS=1)+1;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">nnl:=DISPSTATUS=2;
qqqq:=BACKSET(DISPSTATUS=2 ,barslast(dispstatus=1));
hh:=HHV(h ,lhnh);
ll:=llV(l ,lhnh);
q0:=hh+(hh-ll)*POW(0.618,5);
hh:=HHV(h ,lhnh);
q1:=ll+(hh-ll)*POW(0.618,1);
q2:=ll+(hh-ll)*POW(0.618,2);
q3:=ll+(hh-ll)*POW(0.618,3);
q4:=ll+(hh-ll)/2;
q5:=ll+(hh-ll)*POW(0.618,5);
q6:=hh-(hh-ll)*POW(0.618,3);
q7:=hh-(hh-ll)*POW(0.618,5);
ll:=llV(l ,lhnh);
q8:=ll-(hh-ll)*POW(0.618,5);
PARTLINE(q0,qqqq,RGB(238,238,28));
PARTLINE(hh ,qqqq,RGB(255,0,255));
PARTLINE(q1,qqqq,RGB(238,238,28));
PARTLINE(q2,qqqq,RGB(238,238,28));
PARTLINE(q3,qqqq,RGB(238,238,28));
PARTLINE(q4,qqqq,RGB(238,0,0));
PARTLINE(q5,qqqq,RGB(238,238,28));
PARTLINE(q6,qqqq,RGB(238,238,28));
PARTLINE(q7,qqqq,RGB(238,238,28));
PARTLINE(ll,qqqq,RGB(255,0,255));
PARTLINE(q8,qqqq,RGB(238,238,28));
DRAWTEXT(nnl,q0,'108.9% '+q0),Color00FFFF;
DRAWTEXT(nnl,hh,'100% '+hh),ColorFF00FF;
DRAWTEXT(nnl,q7,'90.9% '+q7),Color00FFFF;
DRAWTEXT(nnl,q6,'76.4% '+q6),Color00FFFF;
DRAWTEXT(nnl,q1,'61.8% '+q1),Color00FFFF;
DRAWTEXT(nnl,q4,'50% '+q4),Colorred;
DRAWTEXT(nnl,q2,'38.2% '+q2),Color00FFFF;
DRAWTEXT(nnl,q3,'23.7% '+q3),Color00FFFF;
DRAWTEXT(nnl,q5,'8.9% '+q5),Color00FFFF;
DRAWTEXT(nnl,ll,'0% '+ll),ColorFF00FF;
DRAWTEXT(nnl,q8,'-8.9% '+q8),VALIGN2,Color00FFFF;
附:【分析家黄金线大涨主图公式】
55线为黄金线,只有站稳这条线的股票,才有可能大涨!很实用的公式,源码如下:
M55:MA(C,55),COLOR00FFFF,LINETHICK1;
M8:EMA(M55,3),COLOR00FFFF,LINETHICK1;
M9:EMA(M8,3),COLOR00FFFF,LINETHICK1;
M11:EMA(M9,3),COLOR00FFFF,LINETHICK1;
M250: MA(Close,250), COLORWHITE,CIRCLEDOT;
M120: MA(close,120), CIRCLEDOT;
M10: MA(close,10),COLORRED,LINETHICK3;
M24: MA(Close,24),COLORBLUE,LINETHICK3;
M431:MA(CLOSE,431),COLORGREEN,LINETHICK3;
M5: MA(CLOSE,5),COLORYELLOW;
更多分析家公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。