The best last three possible support and resistance levels on a chart
1. Determine the primary trend using Simple Moving Average (SMA):
a. Calculate a 50-day SMA for the price data.
b. Calculate a 200-day SMA for the price data.
c. If the 50-day SMA is above the 200-day SMA, set the primary trend as bullish.
d. If the 50-day SMA is below the 200-day SMA, set the primary trend as bearish.
2. Identify swing highs and lows using the ZigZag indicator:
a. Apply the ZigZag indicator to the price data with a deviation setting of 5%.
b. Store the swing high and low points identified by the ZigZag indicator as potential support and resistance levels.
3. Apply Fibonacci retracement levels:
a. Calculate Fibonacci retracement levels (38.2%, 50%, and 61.8%) between the most recent significant high and low points identified by the ZigZag indicator.
b. Add these levels to the list of potential support and resistance levels.
4. Analyze horizontal price levels using a Support/Resistance indicator:
a. Apply a Support/Resistance indicator to the price data (e.g., Pivot Points or Horizontal Lines).
b. Identify significant horizontal price levels that have acted as support or resistance in the past.
c. Add these levels to the list of potential support and resistance levels.
5. Apply the Relative Strength Index (RSI) indicator:
a. Calculate the 14-day RSI for the price data.
b. Use the RSI levels of 30 (oversold) and 70 (overbought) as additional confluence factors for support and resistance levels.
6. Check for confluence:
a. For each potential support and resistance level, determine if it has multiple technical indicators and price action analysis converging at that level.
b. Assign a score to each level based on the number of confluence factors present (e.g., Fibonacci levels, horizontal price levels, and RSI levels).
7. Rank the levels:
a. Sort the list of potential support and resistance levels based on their assigned scores, with the highest scores representing the most significant levels.
8. Select the best three levels:
a. Extract the top three support levels and the top three resistance levels from the ranked list.
b. Return these levels as the best last three possible support and resistance levels on the chart.
Similar orders
hello great developer We are looking for someone to create a Ninja Trader bot that can identify liquidity sweeps using lux algos indicator. once liquidity sweep occurs we need the bot to use the fibonnachi tool to idenfity the 61% level and 71% level. then enter the trade for us please check the video for better understanding Here is first video: https://youtu.be/ZaGZGNgzZlc?si=we3poeWB91nWqkz5 Here is Second video
can you help me with I need an ATM strategy for NT8, here's the criteria: Forex trade entry 100,000 units with a starting SL of 70 pips. The following proft targets: 33 pips, 68, 125, 180. All targets exit 25,000 units each. As each target is hit, move SL to BE+5, then BE+35, then BE+70. So the SL's are fixed, not trailing. I can't figure this out on my platform
NinjaTrader 8 Developer Needed – Fully Automated Bot Looking for an experienced NinjaTrader 8 (NinjaScript/C#) developer to build a fully automated trading bot . Here are the clarified requirements: • Platform: NinjaTrader 8 (NinjaScript) • Type: Fully automated strategy (no manual confirmation) Entry logic: • Detect liquidity sweeps (sweep of prior high/low, Lux Algo–style) • Apply Fibonacci levels to the sweep
This strategy is built around the idea that price seeks liquidity, and that retail traders often get trapped around key highs and lows. Instead of entering trades before price hits liquidity, this playbook waits for the market to run stops (take liquidity) and then trade the reversal after the trap is formed. The concept is simple: buy below lows, sell above highs, but only when those lows or highs have respected
I want to buy the EA today, Provide me with demo ex5, proof of profitability and Proof that the EA is profitable in your application. *NO Martingale* or Avaraging down
Here are the ThinkScript codes from ThinkorSwim in a Text (.txt) file- I placed a hashmark (#) by the name of each indicator or system with the code underneath - let me know if you have any questions as you convert these into TradingView - thanks i will be looking for graet developer to build for this project
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even