Class to calculate and retrieve price limits based on index for a given symbol and timeframe.
More...
|
struct | Prices |
| Structure to store upper and lower price limits along with their indices. More...
|
|
|
| LimitsByIndex () |
| Default constructor for the LimitsByIndex class.
|
|
void | UpdateAtr (string symbol_arg, ENUM_TIMEFRAMES timeframe_atr, uint counter_arg, uint shifter_arg) |
| Updates the parameters for the class.
|
|
Prices | GetPricesStruct () |
| Retrieves the structure containing calculated price limits.
|
|
void | Get () |
| Calculates the upper and lower price limits based on index for the given symbol and timeframe.
|
|
Class to calculate and retrieve price limits based on index for a given symbol and timeframe.
◆ LimitsByIndex()
LimitsByIndex::LimitsByIndex |
( |
| ) |
|
|
inline |
◆ Get()
void LimitsByIndex::Get |
( |
| ) |
|
Calculates the upper and lower price limits based on index for the given symbol and timeframe.
◆ GetPricesStruct()
Prices LimitsByIndex::GetPricesStruct |
( |
| ) |
|
|
inline |
Retrieves the structure containing calculated price limits.
- Returns
- Prices structure with the calculated limits
◆ UpdateAtr()
void LimitsByIndex::UpdateAtr |
( |
string | symbol_arg, |
|
|
ENUM_TIMEFRAMES | timeframe_atr, |
|
|
uint | counter_arg, |
|
|
uint | shifter_arg ) |
Updates the parameters for the class.
- Parameters
-
symbol_arg | Trading symbol |
timeframe_atr | Timeframe for the symbol |
counter_arg | Number of periods to consider |
shifter_arg | Shifting value for the index |
◆ counter
uint LimitsByIndex::counter |
|
protected |
Number of periods to consider.
◆ prices
Prices structure to hold calculated limits.
◆ shifter
uint LimitsByIndex::shifter |
|
protected |
Shifting value for the index.
◆ symbol
string LimitsByIndex::symbol |
|
protected |
◆ timeframe
ENUM_TIMEFRAMES LimitsByIndex::timeframe |
|
protected |
Timeframe for the symbol.
The documentation for this class was generated from the following file:
- C:/Users/solut/AppData/Roaming/MetaQuotes/Terminal/010E047102812FC0C18890992854220E/MQL5/Include/AtingMQL5/src/prices/LimitsByIndex.mqh