커뮤니티

문의

프로필 이미지
좌오비우오비
2020-09-01 15:51:41
543
글번호 141988
답변완료
답변 항상 고맙습니다. 그런데, input에 있는 상승pyra(0.00), 하락pyra(0.00) 내용이 보이지 않습니다. 최초 수식에는 진입시 반영되어 있습니다. buy("bb",AtStop,LatestEntryPrice(0)+상승Pyra); sell("ss",AtStop,LatestEntryPrice(0)-하락Pyra); 최초 수식은 아래와 같이 사용하였으니 참고하세요. 총 5개를 피라미딩하고 검증을 1포인트하고 피라미딩간격을 0.20 으로 하면 input : uppyra검증(1.00),상승pyra(0.20),상승N(5); 이렇게 변수입력이 됩니다. 첫번째 진입 - 진입수식 - 누적 1개 두번째 진입 - 검증 1.00 - 누적 2개 세번째 진입 - 간격 0.20 - 누적 3개 네번째 진입 - 간격 0.20 - 누적 4개 다섯째 진입 - 간격 0.20 - 누적 5개 ************************************************************************************ 안녕하세요 예스스탁입니다. 참조데이타를 이용하면 봉완성시로만 가능합니다. input : uppyra검증(0.00),상승pyra(0.00),상승N(0); var : EP(0,data1); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then EP = data2(c); if data2(c) >= EP+uppyra검증 and MaxContracts < 상승N Then { EP = data2(c); buy("bb"); } } input : dnpyra검증(0.00),하락pyra(0.00),하락N(0); if MarketPosition == -1 then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then EP = data2(c); if C <= EP-dnpyra검증 and MaxContracts < 하락N Then { EP = data2(c); sell("ss"); } } 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. 아래 피라미딩 수식을 보조data2에서 사용할 수 있도록 부탁드립니다. input : uppyra검증(0.00),상승pyra(0.00),상승N(0); if MarketPosition == 1 and C >= EntryPrice+uppyra검증 and MaxContracts < 상승N Then buy("bb",AtStop,LatestEntryPrice(0)+상승Pyra); input : dnpyra검증(0.00),하락pyra(0.00),하락N(0); if MarketPosition == -1 and C <= EntryPrice-dnpyra검증 and MaxContracts < 하락N Then sell("ss",AtStop,LatestEntryPrice(0)-하락Pyra);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-09-02 10:04:18

안녕하세요 예스스탁입니다. input : uppyra검증(0.00),상승pyra(0.00),상승N(0); var : EP1(0,data1),EP(0,data1); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then { EP = data2(c); EP1 = data2(c); } if data2(c) >= EP1+uppyra검증 and Data2(c) >= EP+상승Pyra and MaxContracts < 상승N Then { EP = data2(c); buy("bb"); } } input : dnpyra검증(0.00),하락pyra(0.00),하락N(0); if MarketPosition == -1 then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then { EP = data2(c); EP1 = data2(c); } if data1(c) <= EP1-dnpyra검증 and Data2(c) <= EP-하락Pyra and MaxContracts < 하락N Then { EP = data2(c); sell("ss"); } } 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. > 제목 : 문의 > 답변 항상 고맙습니다. 그런데, input에 있는 상승pyra(0.00), 하락pyra(0.00) 내용이 보이지 않습니다. 최초 수식에는 진입시 반영되어 있습니다. buy("bb",AtStop,LatestEntryPrice(0)+상승Pyra); sell("ss",AtStop,LatestEntryPrice(0)-하락Pyra); 최초 수식은 아래와 같이 사용하였으니 참고하세요. 총 5개를 피라미딩하고 검증을 1포인트하고 피라미딩간격을 0.20 으로 하면 input : uppyra검증(1.00),상승pyra(0.20),상승N(5); 이렇게 변수입력이 됩니다. 첫번째 진입 - 진입수식 - 누적 1개 두번째 진입 - 검증 1.00 - 누적 2개 세번째 진입 - 간격 0.20 - 누적 3개 네번째 진입 - 간격 0.20 - 누적 4개 다섯째 진입 - 간격 0.20 - 누적 5개 ************************************************************************************ 안녕하세요 예스스탁입니다. 참조데이타를 이용하면 봉완성시로만 가능합니다. input : uppyra검증(0.00),상승pyra(0.00),상승N(0); var : EP(0,data1); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then EP = data2(c); if data2(c) >= EP+uppyra검증 and MaxContracts < 상승N Then { EP = data2(c); buy("bb"); } } input : dnpyra검증(0.00),하락pyra(0.00),하락N(0); if MarketPosition == -1 then { if CurrentContracts > CurrentContracts[1] and MaxEntries == 1 Then EP = data2(c); if C <= EP-dnpyra검증 and MaxContracts < 하락N Then { EP = data2(c); sell("ss"); } } 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. 아래 피라미딩 수식을 보조data2에서 사용할 수 있도록 부탁드립니다. input : uppyra검증(0.00),상승pyra(0.00),상승N(0); if MarketPosition == 1 and C >= EntryPrice+uppyra검증 and MaxContracts < 상승N Then buy("bb",AtStop,LatestEntryPrice(0)+상승Pyra); input : dnpyra검증(0.00),하락pyra(0.00),하락N(0); if MarketPosition == -1 and C <= EntryPrice-dnpyra검증 and MaxContracts < 하락N Then sell("ss",AtStop,LatestEntryPrice(0)-하락Pyra);