커뮤니티

수식 요청 드립니다.

프로필 이미지
dandy
2017-09-07 13:01:23
94
글번호 112575
답변완료
안녕하세요. 수식 요청 드립니다. 아래 연결선물 당일청산 피라미딩 시스템에서 진입식 수식으로 진입한 후 피라미딩 진입은 11분 이후부터 진입되도록 수정 요청 드립니다. //--------------------------------------------------------------------------------------------------- Input : i증감(0.2),누적진입횟수(3),진입수량(1); if MarketPosition == 1 and MaxEntries < 누적진입횟수 and Bxcond == false Then Buy("PBB",AtStop,LatestEntryPrice(0)+i증감,진입수량); if MarketPosition == -1 and MaxEntries < 누적진입횟수 and SxCond == false Then sell("PSS",AtStop,LatestEntryPrice(0)-i증감,진입수량); //--------------------------------------------------------------------------------------------------- #진입식 예제 Input : Period(12), Period1(5); Var : value(0); value = StochasticsK(Period,Period1); If CrossUP(value, 20) and BCount+SCount < N and dayPL > -당일손실 Then{ Buy(); } If CrossDown(value, 80) and BCount+SCount < N and dayPL > -당일손실 Then{ Sell(); } //--------------------------------------------------------------------------------------------------- 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-09-07 13:47:02

안녕하세요 예스스탁입니다. Input : i증감(0.2),누적진입횟수(3),진입수량(1); if MarketPosition == 1 and TimeToMinutes(stime) >= TimeToMinutes(EntryTime)+11 and MaxEntries < 누적진입횟수 and Bxcond == false Then Buy("PBB",AtStop,LatestEntryPrice(0)+i증감,진입수량); if MarketPosition == -1 and TimeToMinutes(stime) >= TimeToMinutes(EntryTime)+11 and MaxEntries < 누적진입횟수 and SxCond == false Then sell("PSS",AtStop,LatestEntryPrice(0)-i증감,진입수량); 즐거운 하루되세요 > dandy 님이 쓴 글입니다. > 제목 : 수식 요청 드립니다. > 안녕하세요. 수식 요청 드립니다. 아래 연결선물 당일청산 피라미딩 시스템에서 진입식 수식으로 진입한 후 피라미딩 진입은 11분 이후부터 진입되도록 수정 요청 드립니다. //--------------------------------------------------------------------------------------------------- Input : i증감(0.2),누적진입횟수(3),진입수량(1); if MarketPosition == 1 and MaxEntries < 누적진입횟수 and Bxcond == false Then Buy("PBB",AtStop,LatestEntryPrice(0)+i증감,진입수량); if MarketPosition == -1 and MaxEntries < 누적진입횟수 and SxCond == false Then sell("PSS",AtStop,LatestEntryPrice(0)-i증감,진입수량); //--------------------------------------------------------------------------------------------------- #진입식 예제 Input : Period(12), Period1(5); Var : value(0); value = StochasticsK(Period,Period1); If CrossUP(value, 20) and BCount+SCount < N and dayPL > -당일손실 Then{ Buy(); } If CrossDown(value, 80) and BCount+SCount < N and dayPL > -당일손실 Then{ Sell(); } //--------------------------------------------------------------------------------------------------- 감사합니다.