vdubus

Nadex Fx Volume Indicator Vv1

By request
Nadex Fx Volume Indicator Vv1
Original source code & Credit goes to: Pip Foundry - Forex Market Volume from IDC
modified & replaced fx pairs to corrospond with Nadex spot/fx instruments // http://www.nadex.com/trade-spot-forex.ht...

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
//╭╮╱╱╭╮╭╮╱╱╭╮
//┃╰╮╭╯┃┃┃╱╱┃┃
//╰╮┃┃╭┻╯┣╮╭┫╰━┳╮╭┳━━╮
//╱┃╰╯┃╭╮┃┃┃┃╭╮┃┃┃┃━━┫
//╱╰╮╭┫╰╯┃╰╯┃╰╯┃╰╯┣━━┃
//╱╱╰╯╰━━┻━━┻━━┻━━┻━━╯
//╭━━━┳╮╱╱╱╱╱╱╱╭╮
//┃╭━╮┃┃╱╱╱╱╱╱╱┃┃
//┃┃╱╰┫╰━┳━━┳━╮╭━╮╭━━┫┃
//┃┃╱╭┫╭╮┃╭╮┃╭╮┫╭╮┫┃━┫┃
//┃╰━╯┃┃┃┃╭╮┃┃┃┃┃┃┃┃━┫╰╮
//╰━━━┻╯╰┻╯╰┻╯╰┻╯╰┻━━┻━╯
//  ©Vdubus http://www.vdubus.co.uk/
//Nadex Fx Volume Indicator Vv1
//Original source code: Pip Foundry - Forex Market Volume from IDC
//modified fx pairs to corrospond with Nadex spot/fx instruments // http://www.nadex.com/trade-spot-forex.html
study(title="Nadex Fx Volume Indicator Vv1", shorttitle="Nadex_Fx_Volume_Vv1")
ema = input(true)
fxpairs =
	  ticker == "EURUSD" ? "FX_IDC:EURUSD" : //1
	  ticker == "EURUSD" ? "FX_IDC:EURGBP" : //2
	  ticker == "EURJPY" ? "FX_IDC:EURJPY" : //3
	  ticker == "USDJPY" ? "FX_IDC:USDJPY" : //4
	  ticker == "USDCAD" ? "FX_IDC:USDCAD" : //5
	  ticker == "USDCHF" ? "FX_IDC:USDCHF" : //6
	  ticker == "GBPUSD" ? "FX_IDC:GBPUSD" : //7
	  ticker == "GBPJPY" ? "FX_IDC:GBPJPY" : //8
	  ticker == "AUDJPY" ? "FX_IDC:AUDJPY" : //9
	  ticker == "AUDUSD" ? "FX_IDC:AUDUSD" : //10
	  "                                  "
//----------------------------------------------------------------------------//
src = security(fxpairs, period, volume, false)
plot(src, color = open > close ? #5F107C : #DF0174, style=histogram, linewidth=3, title="Bar colour")
plot(ema ? ema(src, 21) : na, style=line, linewidth=2, color=navy, title="EMA")
//============================================================================//