커뮤니티
시스템식
2011-02-28 09:14:24
739
글번호 36128
아래의 식을 다음과 같이 변형해 주세요.
Buy: Data2 시가 > Data2 종가
Sell: Data2 시가 < Data2 종가
-------------------------------------------------------------
input : Profit(1.5);
if dayindex == 0 Then
Condition1 = false;
if stime >= 90000 and stime < 144900 and data2(C) > 0 and Condition1 == false then{
buy();
Condition1 = true;
}
SetStopProfittarget(Profit,PercentStop);
답변 1
예스스탁 예스스탁 답변
2011-02-28 13:53:40
안녕하세요
예스스탁입니다.
input : Profit(1.5);
if dayindex == 0 Then
Condition1 = false;
if stime >= 90000 and stime < 144900 and Condition1 == false then{
if data2(O) > data2(c) then{
buy();
Condition1 = true;
}
if data2(O) < data2(c) then {
sell();
Condition1 = true;
}
}
SetStopProfittarget(Profit,PercentStop);
즐거운 하루되세요
> erwe343 님이 쓴 글입니다.
> 제목 : 시스템식
> 아래의 식을 다음과 같이 변형해 주세요.
Buy: Data2 시가 > Data2 종가
Sell: Data2 시가 < Data2 종가
-------------------------------------------------------------
input : Profit(1.5);
if dayindex == 0 Then
Condition1 = false;
if stime >= 90000 and stime < 144900 and data2(C) > 0 and Condition1 == false then{
buy();
Condition1 = true;
}
SetStopProfittarget(Profit,PercentStop);
다음글
이전글