| Include a Custom Indicator | |
|---|---|
| Syntax | # var : <expr> Include statement should be added at start of a formula and can be used as an indicator later on in the function. |
| Description | Suppose you would like to get Highest price of close in last 10 days then you need to use include to this functionality like this #highclose : close[0] print { highindaysany[highclose[0];10;0]} this will first create a custom array called higclose which is basically having today?s close value. Now highindaysany indicator will use it as an input and will return highest price of close in last 10 days |
| Example |