為啥這樣的邏輯還會在同一根k線進出場 - 財經
By Irma
at 2008-11-12T11:20
at 2008-11-12T11:20
Table of Contents
如題
if close cross below av then begin
if av < av[1] and slope < slope[1] then begin
sell("S") at close;
TL=-1;
end;
end;
if TL <= -1 then begin
if close < Downband and bias < average(bias,length)*1.01 and entryprice <> close then begin
exitshort("EXS") at close;
TL=0;
end;
end;
--
if close cross below av then begin
if av < av[1] and slope < slope[1] then begin
sell("S") at close;
TL=-1;
end;
end;
if TL <= -1 then begin
if close < Downband and bias < average(bias,length)*1.01 and entryprice <> close then begin
exitshort("EXS") at close;
TL=0;
end;
end;
--
Tags:
財經
All Comments
By Daph Bay
at 2008-11-14T15:56
at 2008-11-14T15:56
Related Posts
新手請問EasyLanguage程式
By Genevieve
at 2008-11-11T09:36
at 2008-11-11T09:36
新手請問EasyLanguage程式
By Iris
at 2008-11-10T18:46
at 2008-11-10T18:46
有一個網站上看到的程式交易,跟各位請넠…
By Damian
at 2008-11-08T23:38
at 2008-11-08T23:38
SGX網頁昨日摩台報價有誤
By Sandy
at 2008-11-06T09:46
at 2008-11-06T09:46
日盛智慧單
By Andrew
at 2008-11-05T10:49
at 2008-11-05T10:49