本帖最後由 calvinhorng 於 13-3-23 11:26 編輯
- _SECTION_BEGIN("Custom Explorer");
- if (status("action")==actionExplore)
- {
- SetOption("NoDefaultColumns", True );
- val_Q=EMA(C,60);
- dev_Q=(C-val_Q)/val_Q;
- Filter=Cross(Close,EMA(C,60)) AND V>=500;
- AddColumn(DateTime(), "交易 日期 與 時間 ", formatDateTime);
- AddTextColumn(Name(), "股票代號");
- AddTextColumn(FullName() , "股票名稱");
- AddColumn(C, "收盤價", 1.2, IIf(C > Ref(C,-1), colorRed, colorGreen),-1);
- AddColumn(V, "成交量", 1, IIf(V > Ref(V,-1), colorRed, colorGreen),-1);
- AddColumn(val_Q, "季線值", 1.2, IIf(val_Q > Ref(val_Q,-1), colorRed, colorGreen),-1);
- AddColumn(dev_Q*100, "偏離率 %", 1.2,IIf(dev_Q>0.01,colorYellow, colorBlack), IIf(dev_Q>0.01,colorRed, colorPink),-1);
- }
- _SECTION_END();
複製代碼
建議參考 http://www.wisestocktrader.com/indicators/363-eod-trade-explorer
|