MQL4 Reference
Window functions
HideTestIndicators
| void HideTestIndicators( |
bool hide) |
The function sets a flag hiding indicators called by the Expert Advisor.
After the expert has been tested and the appropriate chart opened, the flagged indicators will not be drawn in the testing chart.
Every indicator called will first be flagged with the current hiding flag.
It must be noted that only those indicators can be drawn in the testing chart that are directly called from the expert under test.
Parameters:
| hide |
- |
TRUE, if there is a need to hide indicators, or else FALSE. |
Sample:
HideTestIndicators(true);
MaCurrent=iMA(NULL,0,56,0,MODE_EMA,PRICE_CLOSE,0);
MaPrevious=iMA(NULL,0,56,0,MODE_EMA,PRICE_CLOSE,1);
HideTestIndicators(false);
|
|
|