Indicators
pine
PineJS Market Direction Algo, use it to get the market direction
pine (all)
PineJS Market Direction Algo, use it to get the market direction
Input parameters
| Prop | Type | Default | Description |
|---|---|---|---|
minutes | number | 5 | Minutes to look back for the market direction |
from | string | 09:00 | From time to look back for the market direction |
to | string | 17:00 | To time to look back for the market direction |
neu | boolean | false | Whether to use the neutral direction |
pow | number | 0 | The power % of the market direction/side |
SQL example
TICK pine WITH minutes=5 = 'buy' THEN order SET transmit=true, type="market", side="buy ...