mirror of
https://github.com/softwaredevelop/mql5.git
synced 2026-08-22 16:58:07 +00:00
refactor: ENUM_APPLIED_PRICE_HA_ALL
This commit is contained in:
@@ -18,15 +18,6 @@
|
|||||||
|
|
||||||
#include <MyIncludes\Butterworth_Calculator.mqh>
|
#include <MyIncludes\Butterworth_Calculator.mqh>
|
||||||
|
|
||||||
enum ENUM_APPLIED_PRICE_HA_ALL
|
|
||||||
{
|
|
||||||
PRICE_HA_CLOSE = -1, PRICE_HA_OPEN = -2, PRICE_HA_HIGH = -3, PRICE_HA_LOW = -4,
|
|
||||||
PRICE_HA_MEDIAN = -5, PRICE_HA_TYPICAL = -6, PRICE_HA_WEIGHTED = -7,
|
|
||||||
PRICE_CLOSE_STD = PRICE_CLOSE, PRICE_OPEN_STD = PRICE_OPEN, PRICE_HIGH_STD = PRICE_HIGH,
|
|
||||||
PRICE_LOW_STD = PRICE_LOW, PRICE_MEDIAN_STD = PRICE_MEDIAN, PRICE_TYPICAL_STD = PRICE_TYPICAL,
|
|
||||||
PRICE_WEIGHTED_STD= PRICE_WEIGHTED
|
|
||||||
};
|
|
||||||
|
|
||||||
//--- Input Parameters ---
|
//--- Input Parameters ---
|
||||||
input int InpPeriod = 20; // Critical Period for the filter
|
input int InpPeriod = 20; // Critical Period for the filter
|
||||||
input ENUM_BUTTERWORTH_POLES InpPoles = POLES_TWO; // Number of poles (2 or 3)
|
input ENUM_BUTTERWORTH_POLES InpPoles = POLES_TWO; // Number of poles (2 or 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user