개요
- MQL5 에서의 timeseries 형식은 인덱스0이 최신의 것이고, 인덱스 증가할 수록 과거 정보가 기록되어있다.
- 틱, 캔들, 인디케이터 타임시리즈 데이터를 배열로 복사하는 함수 제공.
캔들 구조체, 캔들 시리즈 확보함수.
MQL5. MqlRates. CopyRates
MqlRates struct MqlRates { datetime time; // Period start time double open; // Open price double high; // The highest price of the period double low; // The lowest price of the period double close;..
igotit.tistory.com
틱 구조체, 틱 시리즈 확보함수.
MQL5. MqlTick. CopyTicks
구조체 MqlTick struct MqlTick { datetime time; // Time of the last prices update double bid; // Current Bid price double ask; // Current Ask price double last; // Price of the last deal (Last) ulong..
igotit.tistory.com
from:
Documentation on MQL5: Timeseries and Indicators Access
datetime TimeAsSeries[]; //--- set access to the array like to a timeseries ArraySetAsSeries(TimeAsSeries,true); ResetLastError(); int copied=CopyTime(NULL,0,0,10,TimeAsSeries); if(copied<=0) { �
www.mql5.com
첫 등록 : 2020.10.11
최종 수정 :
단축 주소 : https://igotit.tistory.com/2644
'트레이딩 > 메타트레이더 코딩' 카테고리의 다른 글
MQL5. CopyTime. Open.High.Low.Close.TickVolume.RealVolume.Spread. (0) | 2020.10.12 |
---|---|
MQL5. MqlRates. CopyRates . 캔들 데이터 (0) | 2020.10.11 |
MQL5. AccountInfoString. 메타 연결된 서버 정보. (0) | 2020.10.10 |
MQL5. Order, Deal, Position (0) | 2019.06.23 |
MQL5. Account (0) | 2019.06.03 |
댓글