커뮤니티

검증부탁드립니다.

프로필 이미지
맘속의행복
2017-03-05 18:42:54
123
글번호 107468
답변완료
안녕하세요 아래의 식을 한번 봐주시고 잘못된 부분이 있으면 알려주시기 바랍니다. 감사합니다. ----------------------------------------------------------------------------------- If 조건 then{ EP= C; if MarketPosition == 0 or (MarketPosition == 1 and IsEntryName("B1") == false) then sell("S1"); } if O - C < 0.5 then if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then ExitShort("S1손절",AtStop,EP+Pricescale*10); if IsEntryName("S1") == true Then ExitShort("S1익절",Atlimit,EP-Pricescale*15); } if O - C >= 0.5 then if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then ExitShort("S1손절2",AtStop,EP+Pricescale*6); if IsEntryName("S1") == true Then ExitShort("S1익절2",Atlimit,EP-Pricescale*15); } if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then if lowest(L,BarsSinceEntry)<= EntryPrice - PriceScale*10 and lowest(L,BarsSinceEntry) > EntryPrice - PriceScale*20 Then ExitShort("S1본절",AtStop,EntryPrice-PriceScale*3); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-03-06 13:38:22

안녕하세요 예스스탁입니다. 어떤 내용을 구현하시는지 글을 같이 올려주셔야 비교해봐 드릴수 있습니다. 식상에 특별히 문법적으로 잘못된 부분은 없습니다. 즐거운 하루되세요 > 맘속의행복 님이 쓴 글입니다. > 제목 : 검증부탁드립니다. > 안녕하세요 아래의 식을 한번 봐주시고 잘못된 부분이 있으면 알려주시기 바랍니다. 감사합니다. ----------------------------------------------------------------------------------- If 조건 then{ EP= C; if MarketPosition == 0 or (MarketPosition == 1 and IsEntryName("B1") == false) then sell("S1"); } if O - C < 0.5 then if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then ExitShort("S1손절",AtStop,EP+Pricescale*10); if IsEntryName("S1") == true Then ExitShort("S1익절",Atlimit,EP-Pricescale*15); } if O - C >= 0.5 then if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then ExitShort("S1손절2",AtStop,EP+Pricescale*6); if IsEntryName("S1") == true Then ExitShort("S1익절2",Atlimit,EP-Pricescale*15); } if MarketPosition == -1 Then{ if IsEntryName("S1") == true Then if lowest(L,BarsSinceEntry)<= EntryPrice - PriceScale*10 and lowest(L,BarsSinceEntry) > EntryPrice - PriceScale*20 Then ExitShort("S1본절",AtStop,EntryPrice-PriceScale*3); }