커뮤니티

수식문의

프로필 이미지
백진강
2013-02-05 19:58:26
266
글번호 59161
답변완료
if MarketPosition == -1 Then{ ExitShort("sx",AtStop,EntryPrice+PriceScale*1); var1 = Text_New(sdate,stime,EntryPrice+PriceScale*5,NumToStr(EntryPrice+PriceScale*5,2)); } 매도청산만 있는데 매수청산식도 만들어주세요
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-02-06 09:33:58

안녕하세요 예스스탁입니다. if MarketPosition == -1 Then{ ExitShort("sx",AtStop,EntryPrice+PriceScale*1); var1 = Text_New(sdate,stime,EntryPrice+PriceScale*5,NumToStr(EntryPrice+PriceScale*5,2)); } if MarketPosition == 1 Then{ ExitLong("bx",AtStop,EntryPrice-PriceScale*1); var2 = Text_New(sdate,stime,EntryPrice-PriceScale*5,NumToStr(EntryPrice-PriceScale*5,2)); } 즐거운 하루되세요 > 백진강 님이 쓴 글입니다. > 제목 : 수식문의 > if MarketPosition == -1 Then{ ExitShort("sx",AtStop,EntryPrice+PriceScale*1); var1 = Text_New(sdate,stime,EntryPrice+PriceScale*5,NumToStr(EntryPrice+PriceScale*5,2)); } 매도청산만 있는데 매수청산식도 만들어주세요