Hello.
I have found an MT4 indicator that mirrors the chart. It will flip the chart. For example, if the market is uptrending it will then be downtrending and vice versa. It creates a mirror image within the chart. This allows me to train my ability to look at downtrending markets, as I struggle with this. Preferably, I would like the color of the bars to be grey when it is a negative bar and white when it is a positive bar. I will then hide the original bars from the chart.
Any help converting this is greatly appreciated.
I did not figure out how to attach multiple files, so I will attach an image in this reply.
Thank you @JS
I found the “TAC Invert Price” indicator in the post you linked to. That is what I was looking for.
Have a good weekend, Andreas
Hello @JS
I was wondering if it is possible to also make it display all tails on bars?
//invert=1
If Invert=1 then
If close>= open then
DRAWCANDLE(-open, -high, -low, -close) coloured(153,153,153,255)
else
DRAWCANDLE(-open, -high, -low, -close) coloured(255,255,255,255)
endif
endif
If Invert=0 then
If close>= open then
DRAWCANDLE(open, high, low, close) coloured(153,153,153,255)
else
DRAWCANDLE(open, high, low, close) coloured(255,255,255,255)
endif
endif
return
JSParticipant
Senior
Hi @gadetrading
Hereby the mirrored candles with “tails”…
If Invert=1 then
xOpen = -1 * Open
xHigh = -1 * Low
xLow = -1 * High
xClose = -1 * Close
If close>= open then
DRAWCANDLE(xOpen, xHigh, xLow, xClose) coloured(0,150,0,255)
else
DRAWCANDLE(xOpen, xHigh, xLow, xClose) coloured(150,0,0,255)
endif
endif
If Invert=0 then
If close>= open then
DRAWCANDLE(open, high, low, close) coloured(0,150,0,255)
else
DRAWCANDLE(open, high, low, close) coloured(150,0,0,255)
endif
endif
return