커뮤니티

시스템

프로필 이미지
달마7
2022-09-25 00:49:47
946
글번호 162485
답변완료
안녕하세요 아래식에서 매수부분을 완성해주시면 감사하겠습니다 Inputs: Strength(4); Variables: LowPivot(0); If SwingLow(1, Low, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; LowPivot = Low[Strength]; End; If MarketPosition() == -1 Then Condition1 = False; If Condition1 Then Sell ("PivB", AtStop, LowPivot);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2022-09-26 11:17:06

안녕하세요 예스스탁입니다. 반대조건으로 추가해 드립니다. Inputs: Strength(4); Variables: LowPivot(0),highPivot(0); If SwingLow(1, Low, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; LowPivot = Low[Strength]; End; If MarketPosition() == -1 Then Condition1 = False; If Condition1 Then Sell ("PivS", AtStop, LowPivot); If SwingHigh(1, high, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition2 = true; highPivot = high[Strength]; End; If MarketPosition() == 1 Then Condition2 = False; If Condition2 Then Buy ("PivB", AtStop, highPivot); 즐거운 하루되세요 > 달마7 님이 쓴 글입니다. > 제목 : 시스템 > 안녕하세요 아래식에서 매수부분을 완성해주시면 감사하겠습니다 Inputs: Strength(4); Variables: LowPivot(0); If SwingLow(1, Low, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; LowPivot = Low[Strength]; End; If MarketPosition() == -1 Then Condition1 = False; If Condition1 Then Sell ("PivB", AtStop, LowPivot);