커뮤니티
59774 재 답변좀 부탁드리니다^^
2018-10-26 08:46:25
108
글번호 123077
냉무
답변 1
예스스탁 예스스탁 답변
2018-10-26 16:32:30
안녕하세요
예스스탁입니다.
청산을 진입명에 따라 구분해서 작성하셔야 합니다.
아래 내용 참고하시기 바랍니다.
if MarketPosition == 0 and BuySetup == true and C > O and (sTime >= 시작시간) Then
buy("1차매수",OnClose,def,Floor(금액1/C));
if MarketPosition == 0 and
MarketPosition(1) == 1 and
IsEntryName("1차매수",1) == true and
IsExitName("전저점 이탈",1) == true Then
buy("재매수",atlimit,EntryPrice(1)*0.95,Floor((금액1*2)/C));
if MarketPosition == 1 Then
{
if IsEntryName("1차매수") == true and c < lowest(L,50)[BarsSinceEntry] Then
ExitLong("전저점 이탈");
if IsEntryName("재매수") == true and c <= EntryPrice*0.98 Then
ExitLong("매수청산");
}
즐거운 하루되세요
> 뽄때 님이 쓴 글입니다.
> 제목 : 59774 재 답변좀 부탁드리니다^^
> 냉무
다음글
이전글