커뮤니티
확인부탁요
2013-02-19 03:24:44
197
글번호 59671
확인 부탁합니다
input : 투입금액(100000);
if CodeCategory == 1 Then{ #코스피
if BasePrice < 50000 Then
Var1 = int(int(투입금액/C)/10)*10;
Else
Var1 = int(투입금액/C);
}
if CodeCategory == 2 Then#코스닥
Var1 = int(투입금액/C);
if CodeCategory == 6 Then#옵션
Var1 = int(투입금액/(C*BigPointValue));
value1 = Upvol/DownVol*100;
If ExitDate(1) != sdate and MarketPosition == 0 and dayindex > 0
and countif(V > 30,2) == 2 and countif(value1 >=120,2) == 2 Then
buy("b",onclose,def,var1);
SetStopLoss(3,PercentStop);
SetStopProfittarget(3,PercentStop);
검증은 되는데요 여러종목 적용해도 수식이 표시가 안나오네요
확인부탁합니다..
즐거운하루되세요
답변 1
예스스탁 예스스탁 답변
2013-02-19 12:28:08
안녕하세요
예스스탁입니다.
식상문제는 없습니다.
분봉차트에 적용하시면 됩니다.
즐거운 하루되세요
> HI_jht7469 님이 쓴 글입니다.
> 제목 : 확인부탁요
> 확인 부탁합니다
input : 투입금액(100000);
if CodeCategory == 1 Then{ #코스피
if BasePrice < 50000 Then
Var1 = int(int(투입금액/C)/10)*10;
Else
Var1 = int(투입금액/C);
}
if CodeCategory == 2 Then#코스닥
Var1 = int(투입금액/C);
if CodeCategory == 6 Then#옵션
Var1 = int(투입금액/(C*BigPointValue));
value1 = Upvol/DownVol*100;
If ExitDate(1) != sdate and MarketPosition == 0 and dayindex > 0
and countif(V > 30,2) == 2 and countif(value1 >=120,2) == 2 Then
buy("b",onclose,def,var1);
SetStopLoss(3,PercentStop);
SetStopProfittarget(3,PercentStop);
검증은 되는데요 여러종목 적용해도 수식이 표시가 안나오네요
확인부탁합니다..
즐거운하루되세요
다음글
이전글