예스스탁
예스스탁 답변
2024-06-04 10:58:55
안녕하세요
예스스탁입니다.
1
input : 기준가격(360);
var1 = 기준가격;
if MarketPosition <= 0 and H < var1+PriceScale*60 Then
{
Buy("b1",AtStop,var1+PriceScale*60,1);
Buy("b2",AtStop,var1+PriceScale*70,1);
}
if MarketPosition == 1 and MaxEntries == 1 and H < var1+PriceScale*70 Then
Buy("b2.",AtStop,var1+PriceScale*70,1);
if MarketPosition == 1 Then
{
ExitLong("BP",AtLimit,var1+PriceScale*120);
ExitLong("BL",AtStop,var1-PriceScale*70);
}
if MarketPosition >= 0 and L > var1-PriceScale*60 Then
{
Sell("s1",AtStop,var1-PriceScale*60,1);
Sell("s2",AtStop,var1-PriceScale*70,1);
}
if MarketPosition == -1 and MaxEntries == 1 and L > var1-PriceScale*70 Then
Sell("s2.",AtStop,var1-PriceScale*70,1);
if MarketPosition == -1 Then
{
ExitShort("SP",AtLimit,var1-PriceScale*120);
ExitShort("SL",AtStop,var1+PriceScale*70);
}
즐거운 하루되세요
> 신나는파파 님이 쓴 글입니다.
> 제목 : 시스템식 부탁드립니다.
>
var1 = 기준가격입력(수동); *** 제가 직접입력하고 싶습니다.
매수1 : var1+60틱상승시 = 1개매수stop진입
매수2 : var1+70틱상승시 = 1개매수stop진입
청산 익절시 : var1 가격대비 +120틱에서 일괄익절청산(매수1,매수2)
손절시: var1 가격대비-70틱에서 일괄손절청산(매수1,매수2)
매도1 : var1-60틱하락시 = 1개매도stop진입
매도2 : var1-70틱하락시 = 1개매도stop진입
청산 익절시 : var1 가격대비 -120틱에서 일괄익절청산(매도1,매도2)
손절시: var1 가격대비+70틱에서 일괄손절청산(매도1,매도2)
*** 손절,또는 익절 후 무포지션일경우 위조건식 만족시, 즉 골든크로스시
계속 반복진입하고 싶은데요… 부탁드리겠습니다.