본문 바로가기
트레이딩/메타트레이더 코딩

메타트레이더 5. MQL5. 클래스 CTrade. 주문처리.

by i.got.it 2018. 8. 25.
 

CTrade 개요

 
MQL5 의 Standard Library 중 주문 실행 클래스.
 
클래스 내부적으로함수 OrderSend 가 이용되고 있다. 
 
 
 
상기 CTrdae 설명사이트를 보면 방대하게 많아서 당장 코딩시 필요한 것이 뭔지 애매하다. 
처음엔  아래 리스트 것부터 보면된다. 
 

 

OrderOpen Places the pending order with set parameters.
OrderModify Modifies the pending order parameters.
OrderDelete Deletes the pending order.
PositionOpen Opens the position with set parameters.
PositionModify Modifies the position parameters.
PositionClose Closes the position by.
Buy Opens a long position with specified parameters.
Sell Opens a short position with specified parameters.
BuyLimit Places the pending order of Buy Limit type (buy at the price lower than current market price) with specified parameters.
BuyStop Places the pending order of Buy Stop type (buy at the price higher than current market price) with specified parameters.
SellLimit Places the pending order of Sell Limit type (sell at the price higher than current market price) with specified parameters.
SellStop Places the pending order of Buy Stop type (sell at the price lower than current market price) with specified parameters

 

 
 
 
 
 
 

 

 

 

 

 

 

상위 정리 

메타트레이더 5 체계정리. 활용법/지식 :  http://igotit.tistory.com/1775

 

메타트레이더 5. 체계정리. 활용법/지식

MetaTrader 5 메타트레이더 5 , 메타에디터, MQL5 활용정보 체계정리. 본 글에서 주요 정리대상 정보 1. 메타트레이더 5 사용법. 2. MQL5 언어 기반 "직접 코딩"하여 메타프레이더5에서 자동매매 달성하기

igotit.tistory.com

 

 

 

 


첫 등록 : 2018.08.25

최종 수정 : 2022.07.27

단축 주소 : https://igotit.tistory.com/1827

 


 

 

댓글



 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5