by Ephedan » Tue Jan 03, 2023 3:44 am
Hello.
I added the Fibonacci extensions.
I would like those not to appear on the graph.
To do this, I added two conditions:
- If the price is above the midline, then R1, R2, R3 & R4 are displayed on the graph. Otherwise, they don’t appear.
- If the price is below the midline, then S1, S2, S3 & S4 are displayed on the chart. Otherwise, they don’t appear.
I encounter an error that does not allow me to apply this condition.
Does anyone have any idea how to correct this mistake?
Thank you.
Best regards,
- Attachments
-
ZigZag Median.lua
- ZigZag Median with Fibonacci
- (5.53 KiB) Downloaded 42 times