源码如下:
{试金石}{主图,参数缺省m为13,n为21}
WH01:=MA(CLOSE,M)+MA(CLOSE,M)-REF(MA(CLOSE,M),1),COLORF4E202,LINETHICK2;
WH02:=IF(MA(CLOSE,M)<WH01,WH01,MA(CLOSE,M)),COLORF4E202,LINETHICK2;
WH03:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
WH04:=MA(WH03,N);
WH05:=REF(CLOSE,1)-REF(WH04,1);
试金石:WH02-(EMA(CLOSE,3)-WH02),LINETHICK2,COLORFF8080;
生命线:HHV(WH05,N),COLORWHITE,LINETHICK2;
洗盘线:EMA(SLOPE(CLOSE,21)*20+CLOSE,55),COLORMAGENTA;
成本线:EMA((2*CLOSE+LOW+HIGH)/4,55),COLORYELLOW; {顶尖财经网www.58188.com整理}
|
|
|
|
|