예스스탁
예스스탁 답변
2022-09-22 09:54:39
안녕하세요
예스스탁입니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 1 and (MaxEntries == 3 or MaxEntries == 7 or MaxEntries == 9 or MaxEntries == 10) Then
vol = Floor((mm*2)/2);
Else
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
If Crossup(value,sPercent) Then
ExitLong();
}
즐거운 하루되세요
> 하늘북 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 늘 감사합니다.
아래 수식 수정 부탁드립니다.
아래수식에 청산식 수식 추가 부탁드립니다.
청산 :1. 과매수 권에 들어오면 진입한 수량 전량 청산
매수 : 아래 수식은 10회 분할 매수인데 3회차, 7회차, 9회, 10회 차는
최초진입 금액의 2배 금액이 진입하도록 부탁드립니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 0 Then
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
}
수정부탁드립니다.
수정해주신 수식에서 3, 7, 9, 10회차에 2배금액 만큼 진입이 되지 않습니다.
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 문의드립니다.
>
안녕하세요
예스스탁입니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 1 and (MaxEntries == 3 or MaxEntries == 7 or MaxEntries == 9 or MaxEntries == 10) Then
vol = Floor((mm*2)/2);
Else
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
If Crossup(value,sPercent) Then
ExitLong();
}
즐거운 하루되세요
> 하늘북 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 늘 감사합니다.
아래 수식 수정 부탁드립니다.
아래수식에 청산식 수식 추가 부탁드립니다.
청산 :1. 과매수 권에 들어오면 진입한 수량 전량 청산
매수 : 아래 수식은 10회 분할 매수인데 3회차, 7회차, 9회, 10회 차는
최초진입 금액의 2배 금액이 진입하도록 부탁드립니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 0 Then
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
}
예스스탁
예스스탁 답변
2022-09-23 08:43:30
안녕하세요
예스스탁입니다.
식을 수정했습니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 1 and (MaxEntries == 2 or MaxEntries == 6 or MaxEntries == 8 or MaxEntries == 9) Then
vol = Floor((mm*2)/C);
Else
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
If Crossup(value,sPercent) Then
ExitLong();
}
즐거운 하루되세요
> 하늘북 님이 쓴 글입니다.
> 제목 : Re : Re : 문의드립니다.
> 수정부탁드립니다.
수정해주신 수식에서 3, 7, 9, 10회차에 2배금액 만큼 진입이 되지 않습니다.
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 문의드립니다.
>
안녕하세요
예스스탁입니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 1 and (MaxEntries == 3 or MaxEntries == 7 or MaxEntries == 9 or MaxEntries == 10) Then
vol = Floor((mm*2)/2);
Else
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
If Crossup(value,sPercent) Then
ExitLong();
}
즐거운 하루되세요
> 하늘북 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 늘 감사합니다.
아래 수식 수정 부탁드립니다.
아래수식에 청산식 수식 추가 부탁드립니다.
청산 :1. 과매수 권에 들어오면 진입한 수량 전량 청산
매수 : 아래 수식은 10회 분할 매수인데 3회차, 7회차, 9회, 10회 차는
최초진입 금액의 2배 금액이 진입하도록 부탁드립니다.
Input : mm(200000);
Input : Period(14), LPercent(40), SPercent(60);
Var : value(0),vol(0);
value = RSI(Period);
If Crossup(value,LPercent) Then
{
if MarketPosition == 0 Then
vol = Floor(mm/c);
if MarketPosition ==0 or (MarketPosition == 1 and MaxEntries < 10) Then
Buy("b",OnClose,Def,vol);
}
if MarketPosition == 1 Then
{
ExitLong("bx1",AtLimit,AvgEntryPrice*1.10);
if CurrentContracts > CurrentContracts[1] Then
Var1 = LatestEntryPrice(0);
if Var1 > 0 Then
ExitLong("bx",AtLimit,var1*1.10);
}