안녕하세요 수고 많으십니다
챠트를 보다가 제가 원하는 자리에서 진입은 하고 수익 과 손절 청산을 시스템트레이딩으로 처리 하고 싶습니다
이때 진입식은 어떻게 해야 할지를 모르겠습니다
청산은 일전에 알려주신 수식으로 하려고 합니다
input : trailPoints(60),trailOffset(10),stopSize(100);
SetStopLoss(stopsize*PriceScale ,PointStop);
SetStopTrailing(trailOffset*PriceScale,trailPoints*PriceScale,PointStop);
답변 1
예스스탁
예스스탁 답변
2022-08-19 14:56:37
안녕하세요
예스스탁입니다.
올려주신 내용만으로 저희가 답변드리기 어렵습니다.
원하시는 자리가 어떤 내용인지 알수 없습니다.
기본적으로 수식은 아래와 같은 구조로 작성됩니다.
매수진입조건과 매도진입조건 부분에 원하시는 진입조건을 지정해 주시면 됩니다.
input : trailPoints(60),trailOffset(10),stopSize(100);
if MarketPosition <= 0 and 매수진입조건 Then
Buy();
if MarketPosition >= 0 and 매도진입조건 Then
Sell();
SetStopLoss(stopsize*PriceScale ,PointStop);
SetStopTrailing(trailOffset*PriceScale,trailPoints*PriceScale,PointStop);
즐거운 하루되세요
> 미래펴다 님이 쓴 글입니다.
> 제목 : 수식 부탁 드립니다
> 안녕하세요 수고 많으십니다
챠트를 보다가 제가 원하는 자리에서 진입은 하고 수익 과 손절 청산을 시스템트레이딩으로 처리 하고 싶습니다
이때 진입식은 어떻게 해야 할지를 모르겠습니다
청산은 일전에 알려주신 수식으로 하려고 합니다
input : trailPoints(60),trailOffset(10),stopSize(100);
SetStopLoss(stopsize*PriceScale ,PointStop);
SetStopTrailing(trailOffset*PriceScale,trailPoints*PriceScale,PointStop);