Skip to content

Commit

Permalink
Chart: Improves ENUM_APPLIED_PRICE fixed values
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Oct 23, 2021
1 parent 641e97b commit 88b7ef6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Chart.enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
// https://www.mql5.com/en/docs/constants/indicatorconstants/prices
// https://docs.mql4.com/constants/indicatorconstants/prices
enum ENUM_APPLIED_PRICE {
PRICE_CLOSE = 1, // Close price
PRICE_OPEN = 2, // Open price
PRICE_HIGH = 3, // The maximum price for the period
PRICE_LOW = 4, // The minimum price for the period
PRICE_MEDIAN = 5, // Median price (H+L)/2
PRICE_TYPICAL = 6, // Typical price, (H+L+C)/3
PRICE_WEIGHTED = 7, // Weighted close price (H+L+C+C)/4
PRICE_CLOSE = 0, // Close price
PRICE_OPEN, // Open price
PRICE_HIGH, // The maximum price for the period
PRICE_LOW, // The minimum price for the period
PRICE_MEDIAN, // Median price (H+L)/2
PRICE_TYPICAL, // Typical price, (H+L+C)/3
PRICE_WEIGHTED, // Weighted close price (H+L+C+C)/4
};
#endif

Expand Down

0 comments on commit 88b7ef6

Please sign in to comment.