1. 반대수식 맞는지 체크 바랍니다.
if MarketPosition == -1 Then
{
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
if data2(C <= C2[BarsSinceEntry]-dnpyra검증 and MaxContracts < 하락N and L <= LP-하락Pyra) Then
sell("ss");
}
2. buy 수식, sell 수식 모두 해석 부탁드립니다.
*********************************************************************************
if MarketPosition == 1 Then
{
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
if data2(C >= C2[BarsSinceEntry]+uppyra검증 and MaxContracts < 상승N and H >= LP+상승Pyra) Then
buy("bb");
}
답변 1
예스스탁
예스스탁 답변
2020-02-20 13:52:14
안녕하세요
예스스탁입니다.
예 맞습니다.
#매도진입후
if MarketPosition == -1 Then
{
#진입이 발생하면 LP에 c2값
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
#dat2의 종가가 진입봉의 c2-dnpyra검증값 이하이고 포지션최대수량은 하락N 미만이고 data2저가가 LP-하락Pyra보다 작으면 추가매도
if data2(C <= C2[BarsSinceEntry]-dnpyra검증 and MaxContracts < 하락N and L <= LP-하락Pyra) Then
sell("ss");
}
#매수진입후
if MarketPosition == 1 Then
{
#진입이 발생하면 LP에 c2값
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
#dat2의 종가가 진입봉의 c2+uppyra검증값 이상이고 포지션최대수량은 상승N 미만이고 data2고가가 LP+상승Pyra보다 크면 추가매수
if data2(C >= C2[BarsSinceEntry]+uppyra검증 and MaxContracts < 상승N and H >= LP+상승Pyra) Then
buy("bb");
}
즐거운 하루되세요
> 좌오비우오비 님이 쓴 글입니다.
> 제목 : 문의
>
1. 반대수식 맞는지 체크 바랍니다.
if MarketPosition == -1 Then
{
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
if data2(C <= C2[BarsSinceEntry]-dnpyra검증 and MaxContracts < 하락N and L <= LP-하락Pyra) Then
sell("ss");
}
2. buy 수식, sell 수식 모두 해석 부탁드립니다.
*********************************************************************************
if MarketPosition == 1 Then
{
if CurrentContracts > CurrentContracts[1] Then
LP = C2;
if data2(C >= C2[BarsSinceEntry]+uppyra검증 and MaxContracts < 상승N and H >= LP+상승Pyra) Then
buy("bb");
}