커뮤니티
청산식?
2011-02-14 11:36:55
874
글번호 35707
if crossup (c,ma(20)) then buy("A");
"A" 매수에 대한 이익청산은 +2.0 포인트
if crossdown (c,ma(20)) then sell("B");
"B" 매도에 대한 이익청산은 +2.0 포인트
답변 1
예스스탁 예스스탁 답변
2011-02-14 15:12:08
안녕하세요
예스스탁입니다.
if crossup(c,ma(C,20)) then buy("A");
if IsEntryName("A") == true Then
exitlong("bx",atlimit,EntryPrice+2);
if crossdown (c,ma(C,20)) then sell("B");
if IsEntryName("A") == true Then
ExitShort("sx",atlimit,EntryPrice-2);
즐거운 하루되세요
> 파생맨 님이 쓴 글입니다.
> 제목 : 청산식?
>
if crossup (c,ma(20)) then buy("A");
"A" 매수에 대한 이익청산은 +2.0 포인트
if crossdown (c,ma(20)) then sell("B");
"B" 매도에 대한 이익청산은 +2.0 포인트