커뮤니티

식수정

프로필 이미지
아트정
2022-11-01 17:19:30
1023
글번호 163439
답변완료
var : B(0),S(0); if MarketPosition <= 0 and CrossUp(C,DayOpen) Then Buy("b"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then B = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then B = LatestExitPrice(0); ExitLong("bx",AtStop,B+PriceScale*50); if MaxEntries < 7 Then Buy("bb",AtLimit,B-PriceScale*50); } if MarketPosition >= 0 and CrossDown(C,DayOpen) Then Sell("s"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then S = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then S = LatestExitPrice(0); ExitShort("sx",AtStop,S-PriceScale*50); if MaxEntries < 7 Then Sell("ss",AtLimit,S+PriceScale*50); } 수정 안녕하세요 위식에서 1차 매수.매도 조건을 당일 일봉상 시작가로 해주세요 시가에서 상승시 매수 시가에서 하락시 매도
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2022-11-02 10:46:01

안녕하세요 예스스탁입니다. var : B(0),S(0); if MarketPosition <= 0 and ((bdate != bdate[1] and C > dayopen) or (bdate == bdate[1] and CrossUp(C,DayOpen))) Then Buy("b"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then B = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then B = LatestExitPrice(0); ExitLong("bx",AtStop,B+PriceScale*50); if MaxEntries < 7 Then Buy("bb",AtLimit,B-PriceScale*50); } if MarketPosition >= 0 and ((bdate != bdate[1] and C < dayopen) or (bdate == bdate[1] and CrossDown(C,DayOpen))) Then Sell("s"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then S = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then S = LatestExitPrice(0); ExitShort("sx",AtStop,S-PriceScale*50); if MaxEntries < 7 Then Sell("ss",AtLimit,S+PriceScale*50); } 즐거운 하루되세요 > 아트정 님이 쓴 글입니다. > 제목 : 식수정 > var : B(0),S(0); if MarketPosition <= 0 and CrossUp(C,DayOpen) Then Buy("b"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then B = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then B = LatestExitPrice(0); ExitLong("bx",AtStop,B+PriceScale*50); if MaxEntries < 7 Then Buy("bb",AtLimit,B-PriceScale*50); } if MarketPosition >= 0 and CrossDown(C,DayOpen) Then Sell("s"); if MarketPosition == 1 Then { if CurrentContracts > CurrentContracts[1] Then S = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then S = LatestExitPrice(0); ExitShort("sx",AtStop,S-PriceScale*50); if MaxEntries < 7 Then Sell("ss",AtLimit,S+PriceScale*50); } 수정 안녕하세요 위식에서 1차 매수.매도 조건을 당일 일봉상 시작가로 해주세요 시가에서 상승시 매수 시가에서 하락시 매도