1
0
포크 0
원본 프로젝트 masterofpuppets/mql5
mql5/Experts/Charter/Action.mqh
2026-03-03 01:24:56 +03:00

42 lines
1.6 KiB
MQL5

//+------------------------------------------------------------------+
//| Action.mqh |
//| Copyright 2026, MasterOfPuppets |
//| https://forge.mql5.io/masterofpuppets/mql5 |
//+------------------------------------------------------------------+
#ifndef MASTER_OF_PUPPETS_ACTION_MQH
#define MASTER_OF_PUPPETS_ACTION_MQH
#property copyright "Copyright 2026, MasterOfPuppets"
#property link "https://forge.mql5.io/masterofpuppets/mql5"
//+------------------------------------------------------------------+
//| Key to Action enum |
//| ASCII codes for keys |
//| https://www.w3.org/2002/09/tests/keys.html |
//+------------------------------------------------------------------+
enum Action
{
DECREASE_PERIOD = 'Z',
INCREASE_PERIOD = 'X',
SET_PERIOD_M1 = '1',
SET_PERIOD_M5 = '2',
SET_PERIOD_M15 = '3',
SET_PERIOD_M30 = '4',
SET_PERIOD_H1 = '5',
SET_PERIOD_H4 = '6',
SET_PERIOD_H8 = 'O',
SET_PERIOD_H12 = 'P',
SET_PERIOD_D1 = '7',
SET_PERIOD_W1 = '8',
SET_PERIOD_MN1 = '9',
SET_PERIOD_H1_DEFAULT = '0',
SET_PERIOD_H1_1 = 'H',
SET_PERIOD_D1_1 = 'D',
SET_PERIOD_W1_1 = 'W',
SET_PERIOD_MN1_1 = 'M',
SHOW_TRADE_HISTORY = 'T',
UNKNOWN = -1
};
#endif
//+------------------------------------------------------------------+