PROTECTED SOURCE SCRIPT
Biitfinex BTC Longs-Shorts

// version 1.0 alerts of 4 types just testing things out
//version=3
study("Biitfinex BTC Longs-Shorts")
shorts = pow(security("BITFINEX:BTCUSDSHORTS", period, close),1.0)
plot(shorts, title='Bitfinex Shorts', color=red)
longs = pow(security("BITFINEX:BTCUSDLONGS", period, close),1.0)
plot(longs, title='Bitfinex Longs', color=green)
dif=longs+shorts // calculate difference
plot(dif, color=black, title="Difference") // plot difference
//version=3
study("Biitfinex BTC Longs-Shorts")
shorts = pow(security("BITFINEX:BTCUSDSHORTS", period, close),1.0)
plot(shorts, title='Bitfinex Shorts', color=red)
longs = pow(security("BITFINEX:BTCUSDLONGS", period, close),1.0)
plot(longs, title='Bitfinex Longs', color=green)
dif=longs+shorts // calculate difference
plot(dif, color=black, title="Difference") // plot difference
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.