I need an indicator.
INPUT:
- Period of simple avg on volume.
- How many bars back the indicator will start.
The indicator use:
Close, volume, simple moving average of volume.
Step 1: Calculate the price change from the previous bar: CLOSE-CLOSE(-1)
Step 2: Calculate the movement of the istitutional:
IF volume>SMA(X PERIOD) THEN
SM= SM + price change
ELSE
SM= SM (no change, it use the last value)
The first value of SM (smart money) is the same of CLOSE (How many bars back the indicator starts it's defined by the input) the it change using the instructions above.
This is the result:
Step 3, this is the OUTPUT: SM-CLOSE
This is the final result:
The first value, obviously, will be 0 because the first value of SM line is the same of price as said before.
If you want control your result with my charts I've used Eur/Usd 4H.
Thank you in advance.