|

樓主 |
發表於 15-5-14 09:05
|
顯示全部樓層
感謝前輩
大致上是這樣
inputs: Price(close),Length( 10 );
var =AverageFC (Price,Length);
condition1 =close crosses under var1 ;嘗試加在這邊過//and( close< VMA and c[1] > VMA[1] )
if Marketposition=0 AND condition1 and( close< VMA and c[1] > VMA[1] )
then begin
Sell Short ("Short") this bar at close;
end;
|
|