ATR Trend Run - Signals Alerts SL and TP by Tech Store OnThe script uses several ATR formulas for entering/exiting trades, support/resistance lines to take TP1 (take profit 1) and another ATR formula for TP2 (take profit 2). Everything is fully configurable to your preference, and you can back-test it via TradingView. You can also configure the indicator for signals during US trading sessions (with or without power hour), as well as taking profits/stop-loss session time(s), as well as to close a position at the end of the trading session no matter what. Also, you can turn all of that off, so there are no trading session/end of day limits and each trade will run until it either hits SL, TP1, TP1 > back to entry, TP2. Note: indicator is set to skip consecutive/opposite signals, while you currently have a trade open > if you hit a trend – ride it to the end!
For example: If you will be day trading SPY and you wish to close your positions no matter what right before the market closes (3:45PM ET > 15min before closes): Make sure to checkbox “Intraday – Close Position Before Market Closes” in the strategy/indicator Settings, so that you are alerted soon before the market closes, if you wish to continue holding the position – leave this checkbox unchecked.
SL: SL is set to be slightly above/below the signal candle, which is best suited for this strategy.
Strategy Take Profit Approach
While the initial position open and SL hit is always based on a closed candle bar (can’t do otherwise, as otherwise you will have 10s of fake signal alerts), there are 2 ways on trading this strategy in terms of TP1 and TP1 taken > back to Entry, which is based off Alert type.
You can switch this as you like within the indicator settings, “Checked: TP1 taken > back to Entry per Price Touch | Unchecked: per Candle Close”.
Candle Close vs Price Touch: with the Default method - Candle Close for an alert for TP1 or if price comes back to Entry after TP1 is taken will only be triggered once candle bar fully closes crossing the area, while Price Touch will alert when price touches the area before candle bar closes.
For example: your trade is running well, you grab TP1 and the price reverses and hits your trade Entry area. With Price Touch – you are immediately alerted to close your trade with no loss and with TP1 profit. With Candle Close - you will receive an alert only once candle bar fully closes on top of the Entry crossing it backwards, meaning it may lower your TP1 profit or even completely reverse the trade into loss in case it will be a huge candle bar for any reason. However, it may touch the Entry area, looking like the price is reversing, but then continue per initial trade direction, sometimes becoming a trend. So, while Price Touch seem like a more conservative approach, Candle Close can give you much bigger profits if you catch a trend, but you can always change it via the Settings.
Note: TradingView back-testing engine does not have a feature to open/close orders IMMEDIATELY via Price Touch trigger, but only when the candle closes after price touches the scripted area/line/etc., so you for the most accurate results, test your strategy out via Candle Close setting. Otherwise, decide yourself. I personally like more Candle Close since I can test it out via back-testing with the most accurate results.
TP2 is set per Candle Close as often the ATR trailing stop line will be hit and bounced off, so it’s best to wait until candle actually breaks it/closes through it.
Note: If you will be observing the strategy LIVE, during LIVE candle bar movement – it will look weird, like it’s placing an order after order during any trigger – this seem like a TradingView bug, but is only observational, once the candle bar is closed and you refresh TradingView it will all look correct.
Back-Testing
If you wish to do some back-testing, just modify the strategy/indicator Settings:
-----1) STRATEGY: This is for back-testing/experimenting with the script inputs.
----------a. You can setup a start date (date, month, year) from which it will start opening back-test trades, select a position size and select TP1 size, the idea here is to close half (or whatever you choose) portion of the trade once you hit your TP1, then to either close at small profit or to catch a trend and close the second portion of the position long way ahead from Entry, otherwise it will alert you to close the position at TP2, if price comes back to Entry, at reversal signal or at the end of US trading session if the option for it is checked. If you wish to close the whole position at TP1, just enter the same amount for TP1 to match backtest position size. Otherwise you can experiment with TP1 sizing – try it out!
-----2) Feel free to experiment with ATR settings and with S&R Left/Right bars, you may be amazed how results will differ and find some really cool combinations!
-----3) Make sure you select/de-select “Intraday – Close Position Before Market Closes” setting depending on what you are back-testing and on which conditions
-----4) Note: If you wish to do some deep back-testing (1+ years), use the “Deep Backtesting” feature within Strategy Tester on the TradingView as otherwise it may show wrong results or even fail to compute the results
Add the alerts
-----Right-click anywhere on the TradingView chart
-----Click on Add alert
-----Condition: ATR Trend Run - Signals Alerts SL and TP, by Tech Store On
----------o Right underneath the condition click on the drop-down menu and select “alert() function calls only”
-----Expiration time: Whatever you wish
-----Alert actions: Whatever notifications you wish
-----Alert name: DO NOT TOUCH THIS
-----Hit “Create”
-----Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
- Note: If you add the alert while the script is currently “In Position” it will not know that. So either wait when there will be no position open at all or close your position partially if the bot opens it twice bigger or so in case per script the bot will think it is already in position.
Note: Because of the slippage and the order processing time between TradingView, AutoView and the Broker (it’s usually about a second or so), it is suggested to not use a timeframe lower than 1min. The script is working really well with 1M/3M/5M/H1/H4 timeframes per my back-testing, but feel free to explore via Strategy Back-testing what’s best for the instrument you wish to trade.
If you wish to try this out for a week or so – please reach out and I will give you access.
Trend
rt maax EMA cross strategythis just sample of our strategies we published with open source, to learning our investor the way of trading and analysis, this strategy just for study and learning
in this strategy we use expontial moving avarage 20 , 50 , 200 and the we build this strategy when the price move up ema 200 and ema 20,50 cross up the 200 ema in this conditions the strargey will open long postion
and the oppisit it is true for short postion in this sitation the price should be under ema 200 and the ema 20 , 50 should cross under 200 ema then the strategy will open the short postion
we try this strategy on forex ,crypto and futures and it give us very good result ,, also we try this postion on multi time frame we find the stragey give us good result on 1 hour time frame .
in the end our advice for you before you use any stratgy you should have the knowledg of the indecators how it is work and also you should have information about the market you trade and the last news for this market beacuse it effect so much on the price moving .
so we hope this strategy give you brefing of the way we work and build our strategy
Relative Bi-Directional Volatility RangeThe basic math behind this Indicator is very similar to the math behind the Relative Strength Index without using a standard deviation as used for the Relative Volatility Index. The Volatility Range is calculated by utilizing the highs and lows. However not in the same way as in the Relative Volatility Index. This approach leads to different values, but the overall result clearly reveals the intrinsic Volatility of the chart, so the user can be aware, when something fundamentally is going on behind the scenes. If the Volatility rises on positive and negative range (-100 to 100) it implies that something fundamental is changing.
An advantage of using this kind of calculation is the possibility of separating the data into positive (buy pressure) and negative (sell pressure) components. The bi-directional character shows a slightly overhang in one of the directions, which can be used to detect a trend. A Moving Average of the users choice shell smoothen the overhang of the Relative Bi-Directional Volatility and show a trend direction. Similar to the math of the Relative Strength Index as standard a Relative Moving Average is preferred. If the Moving Average is in the positive range (0 to 100) it indicates a bullish trend, else if the Moving Average is in the negative range (0 to -100) it indicates a bearish trend. External Indicators can use a provided Trend Shift Signal which switches from 0 to 1, if the trend becomes bullish or from 0 to -1, if the trend becomes bearish.
The user should know, that in this Indicator the starting point of the Moving Averages always begins at the first bar, because the starting progress is approximated appropriately. Most Moving Averages require a minimum number of bars to be calculated, which is chosen with the Moving Average Length. In this cases the length used will be automatically reduced in the background until the number of bars is sufficient to match the chosen length. So if data history is very short, the Indicator can be used never the less as good as possible.
It is feasible to switch the Indicator on a higher timeframe, while staying in a lower timeframe on the chart. This can be useful for making the indication cleaner, if the Moving Average is to choppy and shows too many false signals. On the other hand the benefit of a higher timeframe (or a higher Moving Average Length) is paid with higher latency of the signaling. So the user has to decide what the best setting in his case is.
This Indicator can be used with all kinds of charts. Even charts with percentage or negative values should work fine.
Fisher Transform [Loxx]The Fisher Transform is a technical indicator created by John F. Ehlers that converts prices into a Gaussian normal distribution. The indicator highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset.
What's different between this and regular Fisher Transform?
This version of Fisher Transform morphs the original Fisher Transform concept into a high-powered trading tool that works for all asset classes and all timeframes. There are 1000s of potential combinations of signal output between source selection and filtering preferences. Additional sources, volatility types, and moving averages will be added over time in future releases.
Sources
Loxx's Expanded Source Types enabling ~100 variations of source input including all Heikin Ashi and Better Heikin Ashi types. See here for more information here:
Signals
Initial Long "L": Zero-line or trigger/signal cross-up
Initial Short "L": Zero-line cross-down or trigger/signal cross-down
Continuation Long "CL": When price is in uptrend, cross-up trigger over signal
Continuation Short "CS": When price is in downtrend, cross-down trigger under signal
Post Baseline Cross Long "BL": When trigger and signal cross-up over zero-line but Baseline is still in downtrend, then if Baseline finally turns to uptrend within XX bars, then long
Post Baseline Cross Short "BS": When trigger and signal cross-down under zero-line but Baseline is still in uptrend, then if Baseline finally turns to downtrend within XX bars, then short
Long Exit "LX": When trigger is over XX boundary and trigger crosses down signal
Short Exit "SX": When trigger is under XX boundary and trigger crosses up signal
Filters
Baseline filter
41 Different moving averages to choose from including moving averages including Loxx's Moving Averages. See here for more information on included moving averages:
If the Baseline filter is turned on, the Post Baseline Cross signals are activated. For all Baseline types, the trigger is close, the signal is the moving average. If the trigger is above the signal, price is in an uptrend, if trigger is below the signal, price is in a downtrend. When this selected, the trend of the baseline must match the trend of the Fisher Transform for the signal to be valid.
Volatility filter
Volatility : If price crosses the baseline, we check to see how far it has moved in terms of multiples of volatility denoted in price ( volatility in price x multiple). If price has moved by at least "Qualifier multiplier" and less than "Range Multiplier", then, assuming other factors align in one direction, then a signal is printed
Volatility Types
v1.0 Included Volatility
Average True Range (ATR)
True Range Double (TRD)
Alerts
Includes alerts for all signal types listed above
UI Options
5 color schemes
5 trend coloring schemes
Ability to turn signals on/off
Fisher Transform Backtest
Support & Resistance Trendlines with PP + Fib. Channel█ Support & Resistance Trendlines with Pivot Points + Fibonacci Channel
This script automatically draw support and resistance trend lines based on pivot points and add a fibonacci channel.
It will show potential patterns with the help of support and resistance lines as well as breakout target and pullback entry with the fibonacci extension and retracement levels.
It is based on atolelole's script, I only made it more configurable so please check out his script.
I added the possibility to change values and add additional retracement and extension levels.
I also made it customizable with the possibility to change lines color, width and style.
Cosmic GravityCosmic Gravity draws dynamic non-repainting trendlines and helps
⭐ know when to scalp
⭐ predict the position and timing of the next major reversal
⭐ predict sudden changes in volatility
⭐ recognize if the trend is bearish or bullish
👀 HOW IT WORKS
Cosmic Gravity draws a dynamic channel consisting of a basis line and several support and resistance levels for low/medium/high volatility situations, as defined by the Inner Channel and 2 Outer Channel plots respectively. The script achieves this by reducing a large number of select moving averages, their multiples, and other trend levels into a single basis line and deriving the remaining plots off of it using ATR and probability-constant multiples. The basis line color is determined by its smoothed vector similar to how our Cosmic Vector indicator paints its plot. The aim of this indicator is to provide a consistent and generic price context that works out-of-the-box; accordingly a single static average period is used throughout and the settings have been stripped to the bare minimum with no need to ever update them.
📗 HOW TO USE IT
Cosmic Gravity's channel levels are meant to be used as a guide for entering and exiting positions and setting stop-loss and take profit levels. The indicator is deemed effective for any particular timeframe as long as the price stays within the maximum bounds of the indicator's plots. For this reason it is recommended to use Cosmic Gravity in a multi-chart layout where each chart has a different timeframe. The 5 primary strategies are:
long when the price reverses off of an Outer Channel support level and short when the price reverses off of an Outer Channel resistance level
long when the price crosses above the basis line after being below it for a prolonged period and vice-versa (short when the price trend moves below the basis line)
long when the basis line color turns blue after being pink for a prolonged period and visa-versa (short when the basis line color turns pink)
long/short in the direction the price takes when it goes outside the Magnetic Gravity channel when this channel is in a tight squeeze
scalp as the price bounces between the Inner Channel levels (do this only while the price is contained inside the Inner Channel )
🔔 SMART ALERTS
Get notified at the most critical times with a single alert. Simply select Cosmic Gravity - Any alert() function call as the condition when creating an alert and you will be tipped-off on bar-close as follows:
RR↘ (price close crossed below Outer Channel R6 plot)
RR↗ (price high crossed above Outer Channel R6 plot)
R└ (price low entered R channel from above)
R┘ (price high exited R channel from above)
R┐ (price high exited R channel from below)
R┌ (price high entered R channel from below)
B↘ (price high crossed below Basis plot)
B↗ (price low crossed above Basis plot)
B╮ ( Basis vector turned negative)
B╯ ( Basis vector turned positive)
S└ (price low entered S channel from above)
S┘ (price low exited S channel from above)
S┐ (price low exited S channel from below)
S┌ (price high entered S channel from below)
SS↘ (price low crossed below Outer Channel S6 plot)
SS↗ (price close crossed above Outer Channel S6 plot)
For example, an alert such as Cosmic Gravity 6H R┐ B↘ means that during the last 6-hour bar the price exited the R channel from below and also crossed below the basis line.
🚩 DISCLAIMER
The information we create and publish here is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.
Keltner Channel Volatility FilterOVERVIEW
The Keltner Channel Volatility Filter indicator is a technical indicator that gauges the amount of volatility currently present in the market. The purpose of this indicator is to filter out with-trend signals during ranging/non-trending/consolidating conditions.
CONCEPTS
This indicator assists traders in capitalizing on the assumption that trends are more likely to start during periods of high volatility compared to periods of low volatility . This is because high volatility indicates that there are bigger players currently in the market, which is necessary to begin a sustained trending move.
So, to determine whether the current volatility in the market is low, the KCVF will grey out all bars whose average price is within the Keltner Channels.
If the average price breaks out of the Keltner Channels , it is reasonable to assume we are in a high-volatility period. Thus, this is the ideal time to enter a trending trade due to the assumption that trends are more likely to start during these high-volatility periods.
HOW DO I READ THIS INDICATOR
When the candles are greyed out, don't take any trend trades since the current volatility is less than the usual volatility experienced in the market.
When the candles aren't greyed out, take all valid with-trend trades since the current volatility is greater than the usual volatility experienced in the market.
Zig Zag+ (Macro + Internal Structure Tool)ZigZag+ (Macro + Internal Structure Tool)
ZigZag+ is a simple tool that helps traders to clearly identify and differentiate between macro and internal market structure, to help you keep your bearings of where you are currently in the overall picture.
It is especially difficult to keep your bearings within the larger structural trend when trading the lower timeframes, where for example, a bearish structural trend on a lower timeframe may simply be a retracement of an overall bullish structural trend on a higher timeframe. This indicator primarily aims to help traders maintain awareness of where they are in relationship to the higher timeframe / 'macro' structural trend, and their most significant swing point highs and lows.
The features of this indicator include:
- 2x Zig Zag lines drawn automatically onto your chart. One which has a longer length than the other, which can be used to help identify and differentiate the larger price swings from the smaller price swings found within it. Enabled by default.
- Customisable Zig Zag line color & width settings to help clearly differentiate the higher timeframe 'macro structure' apart from the lower timeframe 'internal structure' within it, enabling it to be tailored to suit your chart colour theme and personal preference.
- Customisable individual length settings for the 2x Zig Zag lines, to allow the fine tuning of each line to any timeframe and asset. By default one lines length is set to a higher value than the other, to illustrate a macro structure (higher length value) as well as the 'internal structure' (lower value length), seen within the larger macro structure.
- Up to a maximum of 500 lines can be drawn meaning you can zoom out considerably, and view historical price action with both Zig Zag lines continuing to print.
- Custom alerts for identifying candlesticks that can offer optimal entries where they are found within valid price markups or markdowns that are already underway. Further details can be found within the tooltips for these signals.
Note: The above list of features are accurate at the time of publishing, but may be updated or added to in future.
Structure
Understanding structure is arguably the foundation of all trading strategies, and therefore very important to understand where you are exactly in the bigger picture, since it can help identify levels at which there is a higher probability of price moving either upward or downward at a given point. Structural trend refers to the typical way that price tends to move in any given trending market, identified by the continuation of higher highs and higher lows in a typical bullish trending market, and lower highs and lower lows in a bearish trending market.
During other times price may not be trending in this way, for example when it is undergoing accumulation or distribution phases, where the consistent higher high & lower low / lower high and lower low patterns will not be evident.
What is Macro Structure?
Macro trend structure refers to the structural trend seen on higher timeframe charts.
What is Internal Structure?
Internal trend structure refers to the structural trend seen on lower timeframe charts, which is found within the higher timeframe structure.
Disclaimer: This indicator is adapted from an original script authored by Tr0sT . With special thanks.
EVA - Daily Candle BoxThis is a very simple indicator who display few information about the LAST daily candle. ( it is possible to change the timeframe to have information about last week or last hour )
The green background zone is the channel between last daily candle close and last daily high.
The red background zone is the channel between last daily candle close and last daily low.
The middle line display the last daily candle close.
You can desactivate some display , and let just what you need.
If you have any idea to improve it , let me a message !
Mastering Market Structure"Market structure first, always" - Mr. Anderson aka TrueCrypto28 right before he went on to master Kung-Fu
Understanding and identifying market structure is essential for successful and consistent profitability. No system is perfect, but trading in the direction of the prevailing market structure can reduce the likelihood of being caught severely offsides and can yield trades with tighter invalidations and greater risk-to-reward potential.
This script will automatically identify and plot the following:
Market Structure
Pivot highs and lows using the lookback left and right lengths are analyzed to identify major swing highs and lows to identify the current trading range.
Bullish structure is characterized by a series of higher highs and higher lows.
Bearish Structure is characterized by lower highs and lower lows.
Structure breaks when a bar closes outside the current trading range. Major swing highs and lows will update following these breaks to continue following the current price action
Current market structure bias, bullish or bearish, can be displayed in a table in the location of your choosing.
Structure is fractal, so seeing low time frame structure shift against the high time frame structure can identify the beginning of a pullback. When it realigns with the high timeframe structure, it can identify the beginning of the high time frame trend continuation. You can choose to analyze structure on any timeframe with this script and even add multiple copies of it to your chart each analyzing different a timeframes to easily find high quality trade opportunities.
Fibonacci Levels of the current trading range
These are included to help identify areas of interest for trade execution and profit levels.
We want to buy at a discount and sell at a premium. The "Wholesale Zone" can be considered below the 50% retracement level in bullish structure, or above it in a bearish structure.
When in a bullish structure, "discount" buy opportunities can be found below the 50% retracement level with the expectation of trend continuation.
In a bearish structure, more ideal "premium' sell opportunities can be found above the 50% retracement with the expectation of trend continuation.
Optimal trade entry (OTE) zone, between the 61.8% and 78.6% retracement can offer a great risk-to-reward ratio for execution of a new position in trending environments.
When trading sideways in a range, opening new buy positions near the bottom of the range or new sell positions from the top of the range are preferred. Midrange 50% level commonly sees some reaction and can be used as a primary target with further targets either being the opposite end of the range or lower support levels (see order block section).
Order Blocks
New Bullish and bearish order blocks are created and plotted with every respective market structure break. They identify the price level from which the most recent leg of price action that yielded the structure break began.
In strong trending environments, these levels should continue to support or resist price. They are great areas to look to enter new positions.
Order blocks can also be used as targets for your trades to avoid giving back unrealized profits as price tends to react off of these levels.
To keep your chart clean and the order blocks relevant, an order block will be automatically deleted if price trades through and closes beyond it. Otherwise, printed order blocks will remain on your chart until either it's origin bar is out of TradingView's maximum bar history allowance or their maximum box count allowance.
Pairing these with fibonacci levels, retracements into order blocks that are in the Wholesale Zone or even the OTE zone offer higher probability trades with more favorable risk-to-reward potential.
Swing Failure
Swing failure patterns (SFPs) arise when a candle takes out a swing high or low, but fails to close beyond it.
Again, pairing these with other features of this script like range boundaries, wholesale zones, OTE zones, and order blocks can help traders identify the best times to actually execute their trade as SFPs are commonly seen at points of inflection in price action.
Moving Averages
Up to 4 moving averages from the current time frame are available. MA type and lengths can be adjusted to your preference.
Up to 4 MTF MAs. By Default this is an EMA 200 as it is commonly used for trend identification and support/resistance.
These are included for confluence of trend direction and strength.
They can also act as dynamic support and resistance and so can be useful for trade execution if price bounces or rejects off of them or targets as price may do so when it reaches them.
Additionally, alerts have been coded for the following scenarios:
MS Break alerts will trigger on bar close when a break in market structure has been confirmed.
SFP alerts will trigger on bar close when the swing failure pattern has been confirmed.
Entering OB alerts will trigger as soon as price touches the closest order block.
Entering Wholesale Zone alerts will trigger as soon as price cross the 50% retracement level. This can be used as an early alert to identify assets that have undergone a significant pullback before potential continuation in the direction of the main trend.
Entering OTE Zone alerts will trigger as soon as price crosses into the Optimal Trade Entry zone between the 61.8% and 78.6% retracement.
This script is unique in the way that it tracks market structure, automatically updates as price action continues to develop, presents high quality areas of interest, and SFPs for trend reversal and continuation. Traders will no longer need to constantly monitor their charts or exhaustively update their alerts to find good trade opportunities. This script takes care of all of it automatically. Collectively, all of the included features can be used to build a complete trading system.
Trend Follower Intraday [ Adjustable TF ]Trend Follower Intraday for 3 minute Time-Frame (Adjustable) , that has the time condition for Indian Markets as well.
Unlike the Free Scripts - Risk Management , Position Sizing , Partial Exit etc. are also included .
Send us a Message to know more about the strategy.
// ══════════════════════════════════════════════════════════════════════════ //
The Timing can be changed to fit other markets, scroll down to "TIME CONDITION" to know more.
The commission is also included in the strategy .
The basic idea is when ,
1) EMA1 crosses above EMA2 , is a Long condition .
2) EMA1 crosses below EMA2 , is a Short condition .
3) Green Section indicates Long position.
4) Red Section indicates Short position.
5) Allowed hours specifies the trade entry timing.
6) ATR STOP is the stop-loss value on chart , can be adjusted in INPUTS.
7) Target 1 is the 1st target value on chart , can be adjusted in INPUTS.
8) RISK is Maximum Risk per trade for the intraday trade can be changed .
9) Total Capital used can be adjusted under INPUTS.
10) ATR TRAIL is used for trailing after entry, as mentioned in the inputs below.
11) Check trades under the list of trades .
12) Trade only in liquid stocks .
13) Risk only 1-5% of total capital.
14) Inputs can be changed for better back-test results, but also manually check the trades before setting alerts
15) SQUARE OFF TIME - As you change the time frame , also change the square-off time to the candle's closing time.
Eg: For 3min Time-frame , Hour = 2Hrs | Minute = 57min
16) Strategy stops for the day if you have a loss .
17) COMMISSION value is set to 20Rs and SLIPPAGE value is set to 2 . Go to properties to change it .
*The input values and the results are mentioned under "BACKTEST RESULTS" below*
// ══════════════════════════════ //
// ————————> RISK MANAGEMENT <——————— //
// ══════════════════════════════ //
Risk management is done based on max loss per trade and can be adjusted in the INPUTS.
// ═══════════════════════════ //
// ————————> POSITION SIZE <——————— //
// ═══════════════════════════ //
Quantity of each trade is different based on the loss
// ═════════════════════════ //
// ————————> PROPERTIES <——————— //
// ═════════════════════════ //
COMMISSION , SLIPPAGE ,RECALCULATE is already mentioned in the code.
COMMISSION can be charges , based on the broker charges.
// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The time can be changed in the INPUT.
The Indian Markets open at 9:15am and closes at 3:30pm.
The 'Allowed hours' under Inputs specifies the time at which Entries should happen .
"Close All" function closes all the trades before 3pm , at the open of the next candle.
To change the time to close all trades , check INPUT.
All open trades get closed by 3pm , because some brokers don't allow you to place fresh intraday orders after 3pm .
// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 123 CLOSED TRADES ) <————————— //
// ═══════════════════════════════════════════════ //
INPUTS can be changed for better Back-Test results.
The strategy applied to NSE:JSWENERGY (3 min Time-Frame and with a capital of 3,00,000 ) gives us 81% profitability , as shown below
It was tested for a period a 6 months with a Profit Factor of 1.957 ,net Profit of 43,000Rs .
Sharpe Ratio = 0.745
Sortino Ratio = 2.091
No strategy in the world promises 100% profits in all market conditions , so always define your risk before trading.
Also check Back-Test results manually ,before setting Alerts
The Graph has a Linear Curve with Consistent Profits.
The INPUTS are as follows,
1) EMA1 ————————————————> 38
2) EMA2 ————————————————> 118
3) ALLOWED HRS ———————————> 9:35 TO 14:30
4) ATR STOP ——————————————> 3.2
5) RISK ——————————————————> 3000
6) ATR TRAIL ———————————————> 2.6
7) TARGET 1 ————————————————> 2.4
8) MAX POSITION VALUE ——————————> 3,00,000
8) MAX DRAWDOWN —————————————> 9,000
8) SQUARE-OFF ————————————————> 14:57
NSE:JSWENERGY
Apply it to your charts Now !
NSE:JSWENERGY
Send us a message for FREE TRIALS | Instant Access
Thank You ☺
Swing RibbonA configurable fast and slow moving average combined to help visualize the current trend and potential changes in trend.
Allows for specifying a fixed set of minutes or days instead of just bars so that the visualization is similar when changing time-frames.
Relatively Good Adviser This indicator uses the RSI as the backbone of an extremely sensitive two-indicator trend following system.
This indicator is unique in that it uses the RSI as an anchor to attempt to solve for color where there is divergence nearby.
WilliamTrendFollower StrategyThis strategy is based on signals from the WilliamTrendFollower indicator.
You can optimize the parameters of this strategy as you wish. I hope you get the most accurate result.
About WilliamTrendFollower:
With this indicator, we try to catch the trends in price. With continued use of this indicator, we expect it to eventually escape horizontal positions and catch up with continuous trends.
Combined with the WilliamsR indicator and the exponential moving average indicator.
The WilliamsR Fisher Transforms are combined with the ATR indicator to create a line that lags behind the moving average value.
Since it is a tracking indicator, we created a line that is more connected to the price and itself.
In this way, a curve close to the price line is obtained in uptrends and downtrends.
In this indicator, if you choose the parameters correctly, you can easily bypass the horizontal positions. This gives you a safe visualization of support and resistance points as well.
From the settings of these indicators, you can set the multiplier and the exponential moving average period.
It works in all time intervals.
But it was calculated without volume , instead it was created using fisher transforms, moving averages, and the average true range .
SQueezeVergenceThis is my SQueezeVergence indicator. It fires Buy and Sell signals based on squeeze momentum and trend. **It also creates Bull and Bear signals based on MACD divergence which should only be used as areas of support and resistance being as these signals repaint based on a 5 candle look back of pivots.** All settings are editable for better use. The default settings are what I use on the 1 Minute chart of ES to scalp. This is a simple indicator to help me get alerts on when I need to scalp. The divergence signals work well for areas of significance. I like to watch for breaks of these levels along with support and resistance. I hope this helps.
STP PSAR V5PSAR V5: Automate your trading bots to automate your life!
Welcome to the new revolution in trading bots! PSAR V5 is built to automatically change its indicator settings based on real-time market conditions without any human intervention. Instead of setting up 8-10 alerts for each pair, just setup 1 or 2 alerts.
PSAR is our high-frequency scalper that is designed to take hundreds of trades a day and is the most profitable bot available from Swing Trade Pros. PSAR V5 uses multiple filters (SEE BELOW FOR FILTER DESCRIPTIONS) to reduce the risk of using PSAR by filtering out trades that could become stuck, and changes these filters based on real-time market conditions. Even with multiple filters to reduce risk, it is always important for users to manage their risk and accept the risks of running trading bots and strategies.
PSAR V5 is our first fully automated trading bot, changing its own settings based on real-time market conditions. Ever notice how one setting doesn’t work in all market conditions? PSAR V5 solves this by using 4 different trend indicators to detect the trend of the market, and then uses predefined settings for 8 different trend conditions to automatically adjust as the market changes! This reduces risk and saves the user time.
PSAR V5 isn’t just hands-off, set it and forget it for one market condition, PSAR V5 is set it and forget it for ALL market conditions!!!
PSAR V5 is meant for the beginner user, making it easy to setup and easy to adjust with predefined default risk conditions for each market condition. PSAR V5 ADVANCED allows the user to finely tune each setting for every market condition, and is available for our advanced users in VIP .
DETAILED DESCRIPTION OF FILTERS USED:
PSAR TREND: To detect trend, PSAR V5 uses 4 high time frame PSAR filters to detect overall market conditions. By combining lower time frames such as 5 minute and 15 minute with higher time frame such as 4 hour and daily, PSAR trend detection allows for quick reactions during quick market changes while still adapting and staying on trend with overall market conditions using the higher time frames.
This enables PSAR V5 to combine all 4 PSAR trend filters to determine the strength of the overall market while reacting to quick changes, providing 8 different customizable trend conditions which PSAR uses for settings and to trigger up to 8 different bots, allowing the user to risk on when trend is in their favor, and risk off when trend is not in their favor. PSAR V5 also shows NO TREND when there is indecision in the market when all time frames do not agree.
DIVERGENCES: PSAR V5 uses an enhances version of our previous divergence filter to detect loss of strength in the market by detecting divergences in the Relative Strength Index and filtering out those trades.
ADX: PSAR V5 uses the ADX filter to capture the strongest part of a move in price while avoiding the end of the price movement. This allows us to filter out late longs and shorts.
PSAR DISTANCE: Our PSAR Distance filter will filter out any trades that get beyond a predefined distance from the PSAR indicator dots. This is very useful for avoiding tops and bottoms.
REPAINTING: Significant code has been added to avoid repainting by making each high time frame calculation individually within its own time frame, and then using the bar merge method to eliminate repaints.
[co.n.g.] ADR 5/10/14/20Average Daily Range (ADR) over 5/10/14/20 Days
What it is
One of the oldest measurements of price volatility that is being used in technical and statistical trading is the range of a specific period of past days to estimate probability of chances, risk and price movements, as seen f.e. in
Molodovsky, N. (1967). Building a Stock Market Measure—A Case Study. Financial Analysts Journal, 23:3, 43-46 , DOI: 10.2469/faj.v23.n3.43.
Problem
After having tried all available community scripts I've encountered various indifferences, especially since Pine v5.
First, the anchor period changed, when I've switched between regular and extended trading hours.
- This meant, that the anchor switched between the official open of the day and the first bar of a new day beginnig at 00:00 UTC (or the corresponding timezone).
Second, thus in some scripts also changed the calculated average range, including or excluding pre market and after hours.
And therefor third, in many cases the distance between open and ADR high/low was indiffferent, putting one closer and the other further away.
Why is that?
After having tried seven different modes of calulation - from ta. to array, it appeared that especially since Pine v5 the calulation is lagging when calling
the request.security function and is thus rendering the calculations indifferent.
Especially the open is lagging and plotting delayed, about 15 minutes on a M1-chart or about 45 minutes on a M15 chart, which made id difficult to spot open (test) drives
- as f.e. described in Dalton, J. F., Jones, E. T., & Dalton, R. B. (1990). Mind over markets: power trading with market generated information. 1st edition . Probus. -
and estimating extremely strong or weak open moves.
While switching between regular and extended intraday charts, the open was either calculated on the open as request of "D" (open of the regular session)
and "1440" (which means full intraday since 00:00 UTC or the corresponding timezone), leading to undesired anchoring.
After having tried about five different anchoring periods and comparing the adr to @TradingView 's stock screener, there was no proper calulation or plotting possible,
if not partially hardcoded (being the least desired, elegant or flexible method).
Visualizing the problem
As described in the picture:
@sherwind 's ADR is plotting entirely wrong! I couldn't even figure out (even the source is available) whre the problem is rooted.
@treypeng 's ADR is anchored properly, but unfortunately the calculation is wrong.
Originality
As evident in the attached picture - and you are able to compare this to @TradingView 's stock screener - in this script as well the ADR is calculated PROPERLY
as well as the anchoring is set PROPERLY within the first tick of the session.
As matter of fact, you don't have to examine different timeframes, charts or sessions simoultaneously to see the correct levels and
you're able to ease observations and focus on your trading.
Innovation
There is no innovative approach, as described above, simply because this statistical approach is around since the 1960's.
Considering coding, neither is, but it is properly calculated and anchored.
What this script does
Anchoring at the first tick of the new New York session
Plotting the actual - not the past nor future - average day range (gray lines in picture)
Plotting the actual - not the past nor future - 75% average day range ( silver lines in picture)
Vizualising ADR breakouts by colouring the backround green (long breakout) or read (short breakout)
Selection methods
Keeping it simple stupid, as of now:
Abiliy to chose between 5/10/14/20 days
Additional
Theory says, that we are staying within the ADR of 75% every day.
_
Alas, there are some exceptions.
If price is breaking out of the ADR, we are likely to move in this direction for the rest of the day.
If price has broken out of the ADR on the previous day, ist highly unlikely to expect another ADR breakout day,
which doesn't mean that there might not appear a strong or weak second day.
Notes
Designed for intraday stock trading of the U.S. market.
Best (and easiest) chances are to be spotted in special conditions.
//Cheers,
//Constantine
Volume Weighted Average Price STHello everyone.
I am using vwap standard deviation to find trades.
Above standard deviation 1 is buy
Below standard deviation -1 is sell
Price crossunder of vwap after Buy signal is exit for long trade
Price crossover of vwap after Sell signal is exit for short trade
You can set target points(optional)
You can limit number of trades every day.
Background color changes to gray when today range matches to ATR(14) or you can enable label to see the value at last bar
Contact me for more details if you have any queries.
Unified Composite Index [UCI] [KuraiBlu] [LazyBear]The purpose of this indicator is to combine the four basic types of indicators (Trend, Volatility, Momentum and Volume) to create a singular, composite index in order to provide a more holistic means of observing potential changes within the market, known as the Unified Composite Index . The indicators used in this index are as follows:
Trend - Trend Composite Index
Volatility - Bollinger Bands %b
Momentum - Relative Strength Index
Volume - Money Flow Index
The average price source can’t be altered as I’ve made it an average between ((open + close) / 2) and ((high + low) / 2).
The best way to use this is by observing several of the indicators at once in conjunction with the average, rather than simply using the average produced to determine the right moment to enter, or exit a trade by itself. I've found when one indicator goes way out of bounds relative to the other three (and subsequently, the average array), then it presents a good buying, or selling opportunity.
Some adjustments were made to several of the indicators in order to standardize them on a scale of 1-100 so that they could better accommodate the average array that was finally produced. Thanks to LazyBear for letting me strip down the WaveTrend Oscillator.
Bayesian BBSMA + nQQE Oscillator + Bank funds (whales detector)Three trend indicators in one. Fork of Gunslinger2005 indicator, with a fix to display the nQQE oscillator correctly and clearly, and converted to pinescript v5 (allowing to set a different timeframe and gaps).
How to use: Essentially, nQQE is a long term trend indicator which is more adequate in daily or weekly timeframe to indicate the current market cycle. Banker Fund seems better suited to indicate current local trend, although it is sensitive to relief rallies. Bayesian BBSMA is an awesome tool to visualize the buildup in bullish/bearish sentiment, and when it is more likely to get released, however it is unreliable, so it needs to be combined with other indicators.
Please show the original indicators some love:
Bayesian BBSMA:
nQQE:
L3 Banker Fund Flow Trend:
Originally mixed together by Gunslinger2005:
WilliamTrendFollowerWith this indicator, we try to catch the trends in price. With continued use of this indicator, we expect it to eventually escape horizontal positions and catch up with continuous trends.
Combined with the WilliamsR indicator and the exponential moving average indicator.
The WilliamsR Fisher Transforms are combined with the ATR indicator to create a line that lags behind the moving average value.
Since it is a tracking indicator, we created a line that is more connected to the price and itself.
In this way, a curve close to the price line is obtained in uptrends and downtrends.
In this indicator, if you choose the parameters correctly, you can easily bypass the horizontal positions. This gives you a safe visualization of support and resistance points as well.
With this tracker, you can generate Buy and Sell signals and you can see them on the chart.
From the settings of these indicators, you can set the multiplier and the exponential moving average period.
It works in all time intervals.
But it was calculated without volume , instead it was created using fisher transforms, moving averages, and the average true range .
You can set an alarm for Buy and Sell orders.
You can see the processing entry and exit areas in a straight line.
The Fisher Transform indicator is an oscillator that helps identify trend reversals and can be applied to any financial instrument. J.F. Created by Ehlers
Linear Average PriceWhat is "Linear Average Price"?
"Linear Average Price" is both a trend and an overbought oversold indicator .
What it does?
it creates a trendline and trading zones.
How it does it?
To create the trend line, it averages the difference between each data and chooses it as the slope of the line it creates. then it positions this line so that it passes right through the middle of the data at hand. It uses standard deviation to create trading zones.
How to use it?
It can be used both to have an idea about the trend direction and to determine buy-sell zones. You can choose how many candles the indicator will calculate from the "lenght" section. The "range" part is the coefficient of the standard deviation and can be used to expand or collapse zones.
Trend Dominance Multi Timeframe [Misu]█ This indicator shows the repartition of bullish and bearish trends over a certain period in multiple timeframes. It's also showing the trending direction at the time.
█ Usages:
Trend dominance is expressed with two percentages: left is downtrend and right is uptrend. Cell colors turn green if dominance is up and red if it is down.
Knowing the trend dominance allows you to have a better overview of the market conditions.
You can use it to your advantage to favor long or short trades, reversal or breakout strategies, etc.
█ Features:
> Table colors
> Instant Trend Multitimeframe
> Trend Dominance Multitimeframe
█ Parameters:
> Length: Length is used to calculate ATR.
> Atr Multiplier: A factor used to balance the impact of the ATR on the Trend Bands calculation.
> UI Settings