TradingView
Maga3
12 дек 2016 г., 07:35

Heat Map 

Australian Dollar/U.S. DollarFXCM

Описание

Heatmap currencies. Strategy heat map can be easily found on the Internet, I will not describe here. The script did for a friend.

Комментарии
mspelts
Just to confirm what I am seeing, the alert will trigger on the close of a candle, then look for potential entry on the following candle?
CenovAnalyzy
@mspelts, Please someone explain this indicator. The internet says a heat map is an excell table of currency pairs. This is not a table of currencies. So what does this indicator do?
Maga3
//@version=2
study("Heat Map", overlay=true)
g=close>open
r=close<open
sg1=close>close[1]
sr1=close<close[1]
sg2=sg1 and close>high[1]
sr2=sr1 and close<low[1]
gc=#78D400
plotshape(sg2, style=shape.circle, transp=0, color=gc, location=location.belowbar, size=size.tiny)
plotshape(sr2, style=shape.circle, transp=0, color=red, location=location.abovebar, size=size.tiny)
alertcondition(sg2 or sr2, title='Alert Heat Map', message='Heat Map')
asafali33976
@Maga3, dear sir,
i am a small trader from india.
is it possible that you could provide me with the source code of the heat map so that i could use it .

it would be very grateful of you sir.

thanks
CenovAnalyzy
@asafali33976, me too. As long as someone explains how the dots are calculated I can programm and publish open source.
The problem with this script is that it redraws (removes) dots during next candles.
So it looks like it predict future but in reality that draws many dots and leaves only those that met the 0reducti9n.
Ещё