예스스탁
예스스탁 답변
2022-11-22 16:07:06
안녕하세요
예스스탁입니다.
var1 = ma(c,5);
Var2 = ma(C,20);
if MarketPosition <= 0 and CrossUp(var1,Var2) Then
Buy("b",OnClose,Def,1);
if MarketPosition == 1 Then
{
if MaxEntries == 1 Then
{
ExitLong("bp1",AtLimit,AvgEntryPrice+50);
}
if MaxEntries >= 2 Then
ExitLong("bp2",AtLimit,AvgEntryPrice+10);
if MaxEntries == 3 Then
ExitLong("bl",AtStop,AvgEntryPrice-90);
if MaxEntries < 3 Then
Buy("bb",AtLimit,LatestEntryPrice(0)-15,1);
}
if MarketPosition >= 0 and CrossDown(var1,Var2) Then
Sell("s",OnClose,Def,1);
if MarketPosition == -1 Then
{
if MaxEntries == 1 Then
{
ExitShort("sp1",AtLimit,AvgEntryPrice-50);
}
if MaxEntries >= 2 Then
ExitShort("sp2",AtLimit,AvgEntryPrice-10);
if MaxEntries == 3 Then
ExitShort("sl",AtStop,AvgEntryPrice+90);
if MaxEntries < 3 Then
Sell("ss",AtLimit,LatestEntryPrice(0)+15,1);
}
즐거운 하루되세요
> 양치기 님이 쓴 글입니다.
> 제목 : 시스템식 부탁드립니다.
> 항상 도움 주셔서 감사합니다.
종목 : 해외선물(나스닥 5분봉)
매수 : 5이평, 10이평 골든크로스시 1개 매수
매수후 상승시 : 매수가에서 50point 상승시 청산 또는 5이평이 10이평 데스크로스시 청산
매수후 하락시 : 매수가에서 15point 하락시 추가 1개 매수 -> 2계약 총 이익이 10point 이면 청산
2계약 매수후 추가 하락시 : 2번째 매수가에서 15point 하락시 추가 1개 매수
-> 총 3개 매수후 총이익이 10point이면 청산
-> 총 3개 매수후 총손실이 90point이면 손절
매도 : 5이평, 10이평 데드크로스시 1개 매도
매도후 하락시 : 매도가에서 50point 하락시 청산 또는 5이평이 10이평 골드크로스시 청산
매도후 상승시 : 매도가에서 15point 상승시 추가 1개 매도 -> 2계약 총 이익이 10point 이면 청산
2계약 매도후 추가 상승시 : 2번째 매도가에서 15point 상승시 추가 1개 매도
-> 총 3개 매도후 총이익이 10point이면 청산
-> 총 3개 매도후 총손실이 90point이면 손절
위와 같은 시스템식 부탁드립니다.
감사합니다.