커뮤니티

시그널 메이커 수식를 예스트레에서도 사용할수 있게 변환 부탁드립니다.

프로필 이미지
디너쇼
2023-01-31 00:40:20
611
글번호 165856
답변완료
///////////////////////////////////////////////////////////////////////////// // 매수진입 [BuyA : DMI +DI>2, ] param : BuyA_Leng(2) // DMI 기간 , BuyA_CompValue(6) // 기준값 ; var : BuyA_Price3(0), BuyA_Result(FALSE); BuyA_Price3 = PDI(BuyA_Leng); BuyA_Result = FALSE; if BuyA_Price3 > BuyA_CompValue Then BuyA_Result = TRUE; if ( BuyA_Result ) Then Begin Buy(); End; ///////////////////////////////////////////////////////////////////////////// // 매도진입 [SellA : DMI +DI<1, ] param : SellA_Leng(1) // DMI 기간 , SellA_CompValue(12) // 기준값 ; var : SellA_Price3(0), SellA_Result(FALSE); SellA_Price3 = PDI(SellA_Leng); SellA_Result = FALSE; if SellA_Price3 < SellA_CompValue Then SellA_Result = TRUE; if ( SellA_Result ) Then Begin Sell(); End; ///////////////////////////////////////////////////////////////////////////// Inputs: MyStoplossPoint(0.0006); SetStopPosition; // 포지션 전체 SetStopLoss( MyStoplossPoint ); ///////////////////////////////////////////////////////////////////////////// Inputs: MyProfitTargetPoint(0.0001); SetStopPosition; // 포지션 전체 SetProfitTarget( MyProfitTargetPoint );
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-01-31 10:29:19

안녕하세요 예스스탁입니다. ///////////////////////////////////////////////////////////////////////////// // 매수진입 [BuyA : DMI +DI>2, ] Input : BuyA_Leng(2) // DMI 기간 , BuyA_CompValue(6); // 기준값 var : BuyA_Price3(0), BuyA_Result(FALSE); BuyA_Price3 = DIPlus(BuyA_Leng); BuyA_Result = FALSE; if BuyA_Price3 > BuyA_CompValue Then BuyA_Result = TRUE; if BuyA_Result == True Then { Buy(); } ///////////////////////////////////////////////////////////////////////////// // 매도진입 [SellA : DMI +DI<1, ] Input : SellA_Leng(1) // DMI 기간 , SellA_CompValue(12); // 기준값 var : SellA_Price3(0), SellA_Result(FALSE); SellA_Price3 = DIPlus(SellA_Leng); SellA_Result = FALSE; if SellA_Price3 < SellA_CompValue Then SellA_Result = TRUE; if SellA_Result == True Then { Sell(); } ///////////////////////////////////////////////////////////////////////////// Inputs: MyStoplossPoint(0.0006); Inputs: MyProfitTargetPoint(0.0001); SetStopPosition; // 포지션 전체 SetStopLoss(MyStoplossPoint, PointStop); SetStopProfittarget(MyProfitTargetPoint, PointStop); 즐거운 하루되세요 > 디너쇼 님이 쓴 글입니다. > 제목 : 시그널 메이커 수식를 예스트레에서도 사용할수 있게 변환 부탁드립니다. > ///////////////////////////////////////////////////////////////////////////// // 매수진입 [BuyA : DMI +DI>2, ] param : BuyA_Leng(2) // DMI 기간 , BuyA_CompValue(6) // 기준값 ; var : BuyA_Price3(0), BuyA_Result(FALSE); BuyA_Price3 = PDI(BuyA_Leng); BuyA_Result = FALSE; if BuyA_Price3 > BuyA_CompValue Then BuyA_Result = TRUE; if ( BuyA_Result ) Then Begin Buy(); End; ///////////////////////////////////////////////////////////////////////////// // 매도진입 [SellA : DMI +DI<1, ] param : SellA_Leng(1) // DMI 기간 , SellA_CompValue(12) // 기준값 ; var : SellA_Price3(0), SellA_Result(FALSE); SellA_Price3 = PDI(SellA_Leng); SellA_Result = FALSE; if SellA_Price3 < SellA_CompValue Then SellA_Result = TRUE; if ( SellA_Result ) Then Begin Sell(); End; ///////////////////////////////////////////////////////////////////////////// Inputs: MyStoplossPoint(0.0006); SetStopPosition; // 포지션 전체 SetStopLoss( MyStoplossPoint ); ///////////////////////////////////////////////////////////////////////////// Inputs: MyProfitTargetPoint(0.0001); SetStopPosition; // 포지션 전체 SetProfitTarget( MyProfitTargetPoint );