Jump to content

โคด๏ธ-Paid Ad- Check advertising disclaimer here. Add your banner here.๐Ÿ”ฅ

FCScalper

Members
  • Posts

    100
  • Joined

  • Last visited

  • Days Won

    9

FCScalper last won the day on January 15

FCScalper had the most liked content!

2 Followers

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

FCScalper's Achievements

  1. would be nice if we can get the full indicator file. lets see if someone has it.
  2. same as the Range bot from Ninja AI/ 5min HA candles, just plot it as it is and test it out ( MNQ or NQ 1 contract). thanks //@version=6 strategy("Range Swing Bias Strategy (0-100 Scale) [NinjaBotAI]", overlay=true, max_lines_count=500, max_labels_count=500, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=10) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Inputs // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ swingPeriod = input.int(15, "Swing Period", minval=1) swingMultiplier = input.float(4, "Swing Multiplier", step=0.1) lookback = input.int(50, "Normalization Lookback") // for 0-100 scaling showSwingLine = input.bool(true, "Show Swing Line") colorBg = input.bool(false, "Color Background by Bias") takeProfitPerc = input.float(2.0, "Take Profit (%)", step=0.1) stopLossPerc = input.float(1.0, "Stop Loss (%)", step=0.1) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Double-smoothed price change // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ priceChange = math.abs(close - close[1]) fastEMA = ta.ema(priceChange, swingPeriod) slowPeriod = swingPeriod * 2 - 1 slowEMA = ta.ema(fastEMA, slowPeriod) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Swing line calculation // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ bandwidth = slowEMA * swingMultiplier var float swingLine = na swingLine := na(swingLine[1]) ? close : close - bandwidth > swingLine[1] ? close - bandwidth : close + bandwidth < swingLine[1] ? close + bandwidth : swingLine[1] // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Directional bias (slope-based) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ var int bias = 0 s = swingLine bias := s > s[1] ? 1 : s < s[1] ? -1 : bias[1] // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Normalize swing line to 0-100 scale // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ minSwing = ta.lowest(swingLine, lookback) maxSwing = ta.highest(swingLine, lookback) swingScaled = maxSwing != minSwing ? 100 * (swingLine - minSwing) / (maxSwing - minSwing) : 50 // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Plotting // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ plot(showSwingLine ? swingScaled : na, "Swing Line (0-100)", color=bias == 1 ? color.lime : color.red, linewidth=2) hline(50, "Midline", color=color.gray, linestyle=hline.style_dotted) bgcolor(colorBg ? (bias == 1 ? color.new(color.green, 85) : color.new(color.red, 85)) : na) plotchar(bias == 1, title="Bullish Bias", char="โ–ฒ", location=location.bottom, color=color.lime, size=size.tiny) plotchar(bias == -1, title="Bearish Bias", char="โ–ผ", location=location.top, color=color.red, size=size.tiny) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ // Strategy Logic (swing slope-based) // โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ longCondition = bias == 1 and bias[1] != 1 // enters long only when bias flips to bullish shortCondition = bias == -1 and bias[1] != -1 // enters short only when bias flips to bearish // Exit levels based on percentage longStop = close * (1 - stopLossPerc / 100) longTP = close * (1 + takeProfitPerc / 100) shortStop = close * (1 + stopLossPerc / 100) shortTP = close * (1 - takeProfitPerc / 100) // Close opposite position first before opening new if longCondition strategy.close("Short") strategy.entry("Long", strategy.long, stop=longStop, limit=longTP) if shortCondition strategy.close("Long") strategy.entry("Short", strategy.short, stop=shortStop, limit=shortTP)
  3. currently developing a strategy for the indicator on TDV. Needs more progress and backtesting.
  4. I will say this again. I create my own version of this DeltaScalper. this is to mirror the indicator, it is not the same. Leaving the TV code for some that already asked for: //@version=6 indicator("Clean Color Custom Imbalance", overlay=true) // Inputs int volumePeriod = input.int(20, "Volume Lookback") float volumeMultiplier = input.float(1.5, "Volume Multiplier") // COLOR OPTIONS color bullLineColor = input.color(color.green, "Bullish Line Color") color bearLineColor = input.color(color.red, "Bearish Line Color") color bullLabelColor = input.color(color.green, "Bullish Label Color") color bearLabelColor = input.color(color.red, "Bearish Label Color") color textColor = input.color(color.white, "Text Color") // STYLE OPTIONS int lineWidth = input.int(2, "Line Width", minval=1, maxval=5) int lineLength = input.int(40, "Line Length") // Detection float avgVolume = ta.sma(volume, volumePeriod) bool highVolume = volume > avgVolume * volumeMultiplier float bodyRatio = math.abs(close - open) / (high - low) bool strongBullish = highVolume and close > open and bodyRatio > 0.6 bool strongBearish = highVolume and close < open and bodyRatio > 0.6 // Draw imbalances if strongBullish line.new(bar_index, low, bar_index + lineLength, low, color=bullLineColor, width=lineWidth) label.new(bar_index, low, "BULL", color=bullLabelColor, textcolor=textColor, style=label.style_label_up) if strongBearish line.new(bar_index, high, bar_index + lineLength, high, color=bearLineColor, width=lineWidth) label.new(bar_index, high, "BEAR", color=bearLabelColor, textcolor=textColor, style=label.style_label_down)
  5. Check if everything is ok. https://workupload.com/file/2W2UD9Hkhn2
  6. created also for TDview
  7. Not too sure but it seems like it could be from Valtos.. but cannot confirm. Got the file only. I am testing since last night and seems like a good scalp for one bar or a u shape.. wait the signal to be violated and then take the signal.. and with the picture above seems doing well as good support and resistance areas... combining this with KISS OF, volume delta and Volume profile.
  8. Make sure you enable tick replay and have at least 3 days of data on your chart. Good use on the 2000 volume chart and 4 minute chart. scalping the next candle, or wait for the signal candle to be violated high or low of the signal and then reverse too. Also great for support and resistence, will leave here a 5 min chart with boxes show that. DeltaScalperNT8.zip
  9. sadly I don't brother.
  10. its working for me
  11. QwCaUXxrLm Enjoy!
  12. NinZaOrderFlowPresentation_NT8.zip Go get'em!!

โคด๏ธ-Paid Ad- Check advertising disclaimer here. Add your banner here.๐Ÿ”ฅ

×
×
  • Create New...