BFXLS - Bitfinex Longs vs. Shorts [compatible on any chart]
This is an edit to an existing script. Original credits to pigloo and Ivturner for the slight tweak.
What's been changed:
This version allows Bitfinex $BTC longs/shorts to be viewed on any chart. It can be helpful when trading alts to find out why price is fluctuating.
I've added a price tracker that will show you BFX's BTCUSD value if you have indicator values on. It doesn't deviate much from the base, so there's not much point in having it visible. You can edit visibility or turn it off.
Enables editing of any ticker of your choice, but references to short and long are made in input to prevent confusion. I haven't had much use for this yet; you can use it as a price graph if you disable everything except for Ticker 3.
From pigloo's script:
Green area = Longs
Red area = Shorts
Lighter area = Longs - Shorts
The data only started recently which is why there is not much history, also I have marked a period of missing data between the vertical lines.
Poorly made example of price tracking;
Short-long
[naoligo] 12x MA DT (5, 15, 30 & 60)This indicator is based on "Generic 8x MA Plotter", by @LazyBear.
It is also based on my own indicator "10x MA (H, D, W, M)", which is good for Swing Trading and/or Position.
This one is focused in daytrade and it will plot three Moving Averages based on current time interval (under 5 minutes) and nine based on chosen periods by 5, 15, 30 and 60 minutes. You will be able to see where is, for example, a 50 period's SMA of 15 minutes when using a 2 minutes time interval chart. I find it very useful to analyze, in a snap, possible price ranges and enter/exit points. All reference values are from setups known and used by daytraders.
you can choose between EMA or SMA (default: SMA) for each time interval, that are distributed in:
3x MA current time interval;
3x MA 5 minutes;
2x MA 15 minutes;
2x MA 30 minutes;
2x MA 60 minutes.
I've tried to keep the code as simple as possible, so you can increase the number of MA or modify the type for each time interval.
Cons: Use it wisely, because if you choose to plot all the 12 Moving Averages, it will may consume a lot of your navigator resources.
Enjoy!
BFXLS - Compare styleDisplays BitFinex longs and shorts on your chart in the same was as if you add them by using TradingView's "compare" function - major advantage is that this works for all pairs that BitFinex supports without having to manually set up your chart each time.
MACDouble + RSI (rec. 15min-2hr intrv) Uses two sets of MACD plus an RSI to either long or short. All three indicators trigger buy/sell as one (ie it's not 'IF MACD1 OR MACD2 OR RSI > 1 = buy", its more like "IF 1 AND 2 AND RSI=buy", all 3 match required for trigger)
The MACD inputs should be tweaked depending on timeframe and what you are trading. If you are doing 1, 3, 5 min or real frequent trading then 21/44/20 and 32/66/29 or other high value MACDs should be considered. If you are doing longer intervals like 2, 3, 4hr then consider 9/19/9 and 21/44/20 for MACDs (experiment! I picked these example #s randomly).
Ideal usage for the MACD sets is to have MACD2 inputs at around 1.5x, 2x, or 3x MACD1's inputs.
Other settings to consider: try having fastlength1=macdlength1 and then (fastlength2 = macdlength2 - 2). Like 10/26/10 and 23/48/20. This seems to increase net profit since it is more likely to trigger before major price moves, but may decrease profitable trade %. Conversely, consider FL1=MCDL1 and FL2 = MCDL2 + (FL2 * 0.5). Example: 10/26/10 and 22/48/30 this can increase profitable trade %, though may cost some net profit.
Feel free to message me with suggestions or questions.