DAX Gaps

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

DAX Gaps

Postby isamegrelo » Sat Feb 24, 2018 4:34 pm

Code:

study("DOW GAP")
higherRes = input("15", type=resolution)
is_newbar(res) =>
t = time(res)
change(t) != 0 ? 1 : 0
o = security("US30", higherRes, open)
h = security("US30", higherRes, high)
l = security("US30", higherRes, low)
c = security("US30", higherRes, close)
plotcandle(is_newbar(higherRes) ? o : na, h, l, c, color=c >= o ? lime : red)



source: https://www.tradingview.com/script/ZWm7ExOD-DAX-GAPS/
isamegrelo
FXCodeBase: Initiate
 
Posts: 114
Joined: Mon May 29, 2017 3:36 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 21 guests