求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

CCI

移除 482 位元組, 3 年前
計算公式
CCI應該要順勢操作,加上濾網和停損停利<ref>[https://blog.xuite.net/metafun/life/585040584-CCI%E6%8C%87%E6%A8%99%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7 CCI指標使用技巧]07.18.2018 Jason Xuite日誌</ref>
 
【範例】
condition1= H>lowD(0)+1.5*AvgTrueRange(60);
condition2= L<highD(0)-1.5*AvgTrueRange(60);
 
if condition1 and AverageFC(CCIval,Slen) > AverageFC(CCIval,Llen) and H>=DH then buy next bar at highest(H,3)+1stop;
if condition2 and AverageFC(CCIval,Slen) <AverageFC(CCIval,Llen) and L<=DL then sellshort next bar at lowest(L,3)-1stop;
 
if marketposition=1 then sell next bar at entryprice*(1-STL)stop;
if marketposition=-1 then buytocover next bar at entryprice*(1+STL)stop;
== 影片 ==
1,758
次編輯