커뮤니티
수식전환문의
2003-12-01 16:21:09
3483
글번호 1523
밑의 수식은 트레이드스테이션 수식입니다.
이를 예스트레이더 언어로 부탁드립니다.
Inputs: StopLoss(1),Dummy(1);
Vars : RandNum(0),StopAmount(99999999);
Vars : SumOdd(0),SumEven(0);
If Date[1] <> Date Then Begin
RandNum=Mod(IntPortion(Random(99999)),2);
Print( Date,Time, RandNum);
If RandNum=0 Then Sell at Close;
If RandNum=1 Then Buy at Close;
End;
SetExitOnClose;
SetStopContract;
If BarsSinceEntry=1 Then Begin
StopAmount=BigPointValue*EntryPrice*StopLoss/100;
End;
SetStopLoss(StopAmount);
}
홀짝을 시스템화시킨거라고 들었습니다.
답변 1
예스스탁 예스스탁 답변
2003-12-02 09:29:24
안녕하세요? 예스스탁입니다...
서로 제공되는 함수의 종류가 틀리기 때문에 현재 문의하신 내용을 예스트레이더 프로에서 구현하기는 힘들것 같습니다...
도움이 못되 죄송합니다..
> 팜반동 님이 쓴 글입니다.
> 제목 : 수식전환문의
> 밑의 수식은 트레이드스테이션 수식입니다.
이를 예스트레이더 언어로 부탁드립니다.
Inputs: StopLoss(1),Dummy(1);
Vars : RandNum(0),StopAmount(99999999);
Vars : SumOdd(0),SumEven(0);
If Date[1] <> Date Then Begin
RandNum=Mod(IntPortion(Random(99999)),2);
Print( Date,Time, RandNum);
If RandNum=0 Then Sell at Close;
If RandNum=1 Then Buy at Close;
End;
SetExitOnClose;
SetStopContract;
If BarsSinceEntry=1 Then Begin
StopAmount=BigPointValue*EntryPrice*StopLoss/100;
End;
SetStopLoss(StopAmount);
}
홀짝을 시스템화시킨거라고 들었습니다.
다음글
이전글