거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Ascending Sort A Struct Array By A Field Example - MetaTrader 5용 스크립트

조회수:
3664
평가:
(2)
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This is an example of ascending sort a struct list by a field. You can find out and customize the above algorithm depending on the purpose of use, this is the most basic example is also a direction to resolve the arrangement in an array of structure.

The algorithm used in this example is Quick Sort and Merge Sort.


Input

  psList_[0] = ExStruct(1.0, D'2025.08.06 10:00');
  psList_[1] = ExStruct(2.0, D'2025.08.04 09:00');
  psList_[2] = ExStruct(3.0, D'2025.08.05 12:00');
  psList_[3] = ExStruct(4.0, D'2025.08.07 14:00');
  psList_[4] = ExStruct(5.0, D'2025.08.03 02:00');

Output



Custom Fractals Custom Fractals

The Standard fractals are 2 candles to the right and 2 candles to the left. With this Custom Fractals you can choose as many candles as you like, both to the left and to the right.

ATR Percent ATR Percent

ATR %, ATR percentage, ATR percentage, ATR percentage, ATR percentage

Bollinger Bands Crossover Signals Bollinger Bands Crossover Signals

Indicator Description – Bollinger Bands Crossover Signals Name: Bollinger Bands Crossover Signals Version: 1.1 Author: BENALI Link: https://www.mql5.com/en/users/dahmi_benali

EAToMath EAToMath

Testing on history in the MT5 tester maths mode.