Switzerland
Experience: Advanced
Platform: Multicharts
Broker: IB
Trading: RB, GC, CL, ES, US, S
Posts: 26 since Jul 2017
Thanks Given: 9
Thanks Received: 2
|
Hello
I need two indicator:
1. indicator which count consecutive up and down close
e.g. if 5 consecutive up close then counter = 5, if next bar downclose then counter = 0
vice versa for consecutive down close
2. Index of this indicator which compares the last 20 bars and shows an value in percentage.
e.g.
highest Value of last 20 Bars = 10
Lowest Value of last 20 Bars = 1
Actual value of counter = 3
Index indicator should show = 22.22%
Thanks,
Thatsbooo
|