커뮤니티

예스랭귀지로 변환 부탁드립니다.

프로필 이미지
바둑이
2023-01-01 21:10:10
857
글번호 164984
답변완료
Vars : sell_price( 100 ), Buy_price( 100 ); Params : Profit_Target( 100 ), Stop_Loss( 100 ); If c < Buy_price Then Begin Buy("Buy"); End; If c > Sell_price Then Begin Sell("Sell"); End; SetStopProfitTarget( Profit_Target * pricescale ); SetStopLoss( Stop_Loss * pricescale );
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-01-02 15:16:26

안녕하세요. 예스스탁 입니다. Input : Profit_Target(100), Stop_Loss(100); Var : sell_price(100), Buy_price(100); If C < Buy_price Then { Buy("Buy"); } If C > Sell_price Then { Sell("Sell"); } SetStopProfitTarget( Profit_Target * pricescale, PointStop ); SetStopLoss( Stop_Loss * pricescale, PointStop ); 즐거운 하루 보내세요! > 바둑이 님이 쓴 글입니다. > 제목 : 예스랭귀지로 변환 부탁드립니다. > Vars : sell_price( 100 ), Buy_price( 100 ); Params : Profit_Target( 100 ), Stop_Loss( 100 ); If c < Buy_price Then Begin Buy("Buy"); End; If c > Sell_price Then Begin Sell("Sell"); End; SetStopProfitTarget( Profit_Target * pricescale ); SetStopLoss( Stop_Loss * pricescale );