Standard Deviation ModelsBITFINEX:BTCUSD
The standard deviation model can be used for options traders that are selling options contracts to collect a premium to identify a specific range of strike prices which are optimal for selling based on the underlying asset’s historical price fluctuations. Traders will be able to identify the statistical likelihood that their options contract will be in the money (ITM) or out of the money (OTM).
Basic statistics of normal distributions (probability curve):
-1 SD to +1 SD = 68% likelihood
-2 SD to + 2 SD = 95% likelihood
-3 SD to +3 SD = 99% likelihood
Strategy
Volume and Moving average,will this model working in real-trade?i`ve recently made this script through few month,understand me if there are some incorrect grammar or something.
basically this script is based on moving average strategy and the bollinger bands
if the buy volume is bigger than sell volume,also buy volume is bigger then daily average volume than it`s defined current market is bullish and entered(of course there is some other conditions)
the exit condition is find the highest price after entered,keep refresh the highest price through time and then,if the current price is ?%lower then highest price,it will closed the position.
my question is this : 1 this model will working in real-trade?
2 why the winning rate is 100%?
- i`ve coded if the position margin over -10%,close the position this code isn`t work? or the other profit line is prevent that happened?
Weekly Put SaleWeekly Put Sale
This study is a tool I use for selling weekly puts at the suggested strike prices.
1. The suggested strike prices are based on the weekly high minus an ATR multiple which can be adjusted in the settings
2. You can also adjust the settings to Monthly strike prices if you prefer selling options further out
3. I suggest looking for Put sale premium that is between 0.25% to 0.75% of the strike price for weekly Puts and 1% to 3% of the strike price for monthly Puts
Disclaimers: Selling Puts is an advanced strategy that is risky if you are not prepared to acquire the stock at the strike price you sell at on the expiration date. You must make your own decisions as you will bear the risks associated with any trades you place. To sum it up, trading is risky, and do so at your own risk.
Moses Long-term Index ETF Investing StrategyMoses is a script designed for long-term Index ETF investors.
Moses Goals.
1. Alerts you when a major crash is starting or is underway (Bear Market Signal)
2. Warn you of price events in the market that may lead to increased volatility and downward price pressure (Shock Event Warning)
3. Clearly inform you when the market is in a bull phase (growing) or bear phase (decreasing) (Bull/Bear Signal)
4. Inform you if the market is showing early signs of recovery from a crash
5. Alert you to catastrophic events, which are extreme one bar price drops (typically occurring before or during a major stock market crash)
Moses Logic.
Moses is the product of years of testing, but the application of the logic is simple.
1. Moses is designed specifically to work on a weekly chart (5 days per bar). Do not use the scripts on daily, monthly, or intraday charts
2. Moses Uses 4 Moving Average Indicators
3. Moses uses the position of price and the moving averages to determine the state of the market (Bull/Bear/Recovery)
4. Moses uses price action to determine shock events and catastrophic event warnings
5. The script is hardcoded to start trading in 1997. Why? So that the script's primary goal of avoiding crashes is tested on 3 major crashes, the Dotcom 2000, the Financial Crisis 2008, and the Corona Crash in 2020.
How Moses Works
Being able to exit the market before or during a large market crash enables you to preserve a portion of your equity from decline. Buying back into the market on a Bull Market or Early Recovery Signal enables you to enter the market at a lower price. This goal is achieved during major crashes.
As with all scripts, there are false signals which may incur a losing trade; you can see in the strategy tester results the % of Winning/Losing Trades.
Strategy Setup In Tradingview
Initial Capital $10,000
Order Size 100% of equity (this is because it is a long-term strategy with only one trade in play – you are either long or not invested, using a smaller position size means you cannot meaningfully compare a Moses strategy to a Buy & Hold Strategy)
Commission is $5 per trade (this is negligible because the strategy only trades at most once per year)
Slippage – 10 ticks
This Script Displays the 5 Main MOSES Signals Directly On Your Chart To Help Your Investing Decision Making
1. Bull Market Signal - Green
2. Bear Market Signal - Red
3. Stock Market Recovery Signal - Amber/Yellow
4. Shock Event Warning - Shock Label on Price
5. Catastrophic Event Warning - Red Catastrophe Label
Includes 5 Moses Scripts
• Moses Signals 2.0 (plots all alerts directly on the price chart)
• Moses Buy on Bull - Sell on Bear (Plots a buy on the first Bull Market Signal - Closes All Positions on a Bear Market Signal)
• Moses Buy on Bull - Sell on Catastrophe (Plots a buy on the first Bull Market Signal - Closes All Positions on a Catastrophic event)
• Moses Buy on Recovery - Sell on Catastrophe (Plots a buy on the first Recovery Signal - Closes All Positions on a Catastrophic Event)
• Buy & Hold Script (Used to compare the effectiveness of the strategies versus a Buy and Hold Strategy)
As the script has 3 Moses Strategies, the idea is that you choose the strategy that best fits the ETF you are trading.
Moses is a long-term investing strategy that has historically outperformed the US and European Major Indices for the last 24 years. There is no guarantee of future performance.
Moses has outperformed the market (buy and hold strategy) from 1997 on the:
Nasdaq 100, S&P500, Russell 3000, Nasdaq Composite, EuroStoxx 50, Italian Milano Borsa, German DAX, Paris CAC40
Moses does not outperform the market on:
Nifty 50, BSE Sensex, ASX 200, Chinese Market
Backtested Performance
Test Timeframe Jan 13 1997 - Sept 21 2021
Duration Years 24.75
Initial Investment $10,000
North America Strategy-------------------------------$ Return------------CAGR-------Total %
Nasdaq 100 Buy & Hold----------------------------$176,380-----------12.30%------1664%
Buy Bull - Sell Bear------------------$288,554-----------14.55%------2786%
Buy Bull - Sell Catastrophe---------$202,491-----------12.92%------1925%
Buy Recovery - Sell Catastrophe---$229,866-----------13.50%------2199%
North America Strategy-------------------------------$ Return-----------CAGR------Total %
S&P 500 Buy & Hold----------------------------$58,122-----------7.37%------481%
Buy Bull - Sell Bear------------------$48,544-----------6.59%------385%
Buy Bull - Sell Catastrophe $59,573-----------7.48%------496%
Buy Recovery - Sell Catastrophe $64,579-----------7.83%------546%
North America Strategy-------------------------------$ Return-----------CAGR------Total %
Russell 3000 Buy & Hold----------------------------$61,363-----------7.61%------514%
Buy Bull - Sell Bear------------------$52,957-----------6.97%------430%
Buy Bull - Sell Catastrophe---------$64,027-----------7.79%------540%
Buy Recovery - Sell Catastrophe---$71,565-----------8.28%------616%
North America Strategy-------------------------------$ Return-----------CAGR------Total %
Nasdaq Composite Buy & Hold----------------------------$112,839-----------10.29%------1028%
Buy Bull - Sell Bear------------------$123,308-----------10.68%------1133%
Buy Bull - Sell Catastrophe---------$107,699-----------10.08%------977%
Buy Recovery - Sell Catastrophe---$112,453-----------10.27%------1025%
*CAGR - Compound Annual Growth Rate
From a Declaration of Principles jointly adopted by a Committee of the American Bar Association and a Committee of Publishers
This work is provided to you for informational purposes only and should not be construed as an offer to buy or sell a particular security or a solicitation of offers to buy or sell a particular security. The author may make available certain information related to the potential price movement of particular securities. By reading this report or using the training materials, you acknowledge and agree that any reliance upon the content or data available is at your own sole risk. You are strongly advised to use your own judgment, your own research, and question everything. The information is generic in nature and not targeted to individuals or individual circumstances. The author is an independent investor and is not licensed to give formal Stock advice to the individual, run funds of any type, or accept fees for individual stock advice. The Author accepts no responsibility for loss of money for following any of the lessons or systems created. Trading of securities may not be suitable for all users of this information; if in doubt, seek a professional advisor. All use of this work is at your sole risk.
MA&AOThat is quit simple strategy, which combines only two indicators: AO and MA. The logic of trades is also clear, when AO is bullish; slow ma is under the close price; fast ma > slow ma - buy.
MTF C Strategy A
The Pearson coefficient is a type of correlation coefficient that represents the relationship between two variables that are measured on the same interval or ratio scale. It's a measure of the strength of the association between two continuous variables.
This script allows you to choose one or more sources as a curve, if several sources are chosen, their average is taken into account in an EMA or SMA of your choice. It is possible to have the average of all the curves and to add one or more other curves for an influence on the calculated average.
Then, on the basis of this curve a correlation is calculated from 8 time ranges which give 4 curves, it is on this basis that the conditions of entries in the trade and / or exits are based with the possibility of adding an RSI condition.
For some entries, it is possible to try the symmetrically opposite condition, ie the one that is used in shorts.
To make entry short work, you must activate an exit short option.
However, exit conditions are more flexible than entry conditions because they allow the inverse entry condition used and / or to use statistical indices such as CCI / RSI / ROC / BB as exit condition independently or combined way.
It should be noted that if a condition among those chosen is executed substantially first, it will predominate over the others (same for long / short entries).
In addition, it is possible to choose a stop loss as an exit condition, however, it is not possible to combine the other exit conditions with the stoploss at the same time. Credits to adolgov for the base of the stoploss script part.
You can combine several curves, just as it is possible to combine several types of trade entries / exits.
The strategy uses 100% of equity, it has not been configured in such a way that there is an order pyramid and the closings are done on a total equity basis.
You can configure a daily session interval, a limit of the number of daily trades, a limit of drawdown.
You can add comments for each execution of an opening / closing order respectively to the direction (long or short).
Each step of the configuration has a tip, a button that must be hovered over in order to have the information relating to the configuration.
Drawdown strategy indicatorThis indicator uses drawdown and max drawdown to determine good areas to enter or exit the market.
It uses the ratio between those values and two thresholds provided by the user: top and bottom.
These two values will be used to highlight the areas that match the users strategy criteria.
I normally use this indicator on the 4h or higher timeframes.
On BTC using the default parameters it predicts the tops pretty nicely. The areas of accumulation or buy zones are consistent with the ones that follow each halving.
The chart shows:
- Drawdown
- max drawdown
- drawdown average
- drawdown ratio
- buy and sell zones
The study includes alerts for both buy and sell zones.
MACD + BB + RSI Strategy [Alorse]A very simple and highly effective strategy that combines 3 famous indicators:
MACD
Bollinger Bands
RSI
Entry conditions are:
The MACD line crosses over the signal line.
RSI less than 50
Price below the BB baseline
Exit conditions are:
RSI greater than 70
Closing price higher than the upper BB
Or when the price hits the Stop Loss defined by you (Feature).
Swing Stock Market Multi MA Correlation This is a swing strategy adapted to stock market using correlation with either SP500 or Nasdaq, so its best to trade stocks from this region.
Its components are
Correlation Candle
Fast moving average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Medium moving Average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Slow moving average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Rules for entry
Long: fast ma > medium ma and medium ma > slow ma
Short: fast ma< medium ma and medium ma < slow ma.
Rules for exit
We exit when we receive an inverse condition.
Caution:
This strategy use no risk management inside, so be careful with it .
If you have any questions, let me know !
RSI Rising Crypto Trending StrategyThis is crypto and stock market trending strategy designed for long timeframes such as 4h+
From my tests it looks like it works better to trade crypto against crypto than trading against fiat.
Indicators used:
RSI for rising/falling of the trend
BB sidemarket
ROC sidemarket
Rules for entry
For long: RSI values are rising, and bb and roc tells us we are not in a sidemarket
For long: RSI values are falling, and bb and roc tells us we are not in a sidemarket
Rules for exit
We exit when we receive an opposite direction.
Cuation: Because this strategy uses no risk management, I recommend you takje care with it.
If you have any questions, let me know !
WEEKLY BTC TRADING SCRYPTWeekly BTC Trading Scrypt(WBTS)
This script is only suggested for cryptocurrencies and weekly buying strategy which is long term.Using it in another markets(e.g forex,stock,e.t.c) is not suggested. The thing makes it different than other strategies we try to understand bull and bear seasons and buying selected crypto currency as using formula if weekly closing value crossover eight weeks simple moving avarage buy,else if selected crypto currency's weekly closing value crossunder eight weeks simple avarage sell. Eight week moving avarage is also uses weekly closing prices but for being able to use this strategy ,trading pair must have more than eight candles in weekly chart otherwise the 8 weeks simple moving avarage value cannot be calculated and script does not work.
This script has a chart called WBTS and it has following features:
Strategy group consist of 3 inputs:
1)Source: Close by default. Our whole strategy uses close values. You can change it but not suggested.
2)Loss Ratio: Because of the cases like the circumstances that manipulates market or high volatility , sometimes graphic show wrong buying signals and this ratio saves user from big money looses(Note : This ratio will always work when selling condition occurs to make user take his profit or prevent him to loss more money because of a wrong positive comes from the indicator.)
3)Reward Ratio : When selling condition happens it will exit user with more profit(if price is already higher than buying point) otherwise it will dimunish loss a bit(if user is below of buying point) or prevents looses(if user is in buying point when selling condition happened.
MA group consist of 2 inputs:
COLOR:Specifies color of the moving avarage.It is equal to #FF3232by hex color code by default.
LINE WIDTH: Specifies linewidth of the moving avarage. It is 2 by default.
GRAPHIC group consist of 2 inputs:
COLOR: It specifies the color of the line which consist of weekly closing prices. It is equal to #6666FF hex color code by default.
LINE WIDTH: Specifies linewidth of the line which consist of weekly closing prices. It is 2 by default.
STRATEGY EXECUTION YEAR: It will show the orders,profits and looses done by script after the input year giving in it.It is 2020 by default.
The last feature is strategy equity,it is not in one of these groups. User should click on settings button on the WBTS indicator than chose Style section and there is a deactivated check box near in the plot section if user activate it, the equity line will show in indicator's graph.
Logic of This Strategy:The story of this strategy began when I studied BTC's price movement from 2020 to today with 8 weeks simple moving avarage (it takes weekly closes as source) and weekly clossing values. I understood that there was a perfect interest between bull and bear market and following conditions:
buy_condition=crossover(weekly_closing_values,8_week_simple_moving_avarage)
sell_condition=crossover(weekly_closing_values,8_week_simple_moving_avarage)
and I tried same thing on the same and bigger time frames("for example i studied how the strategy works from the beginning to today with bitcoin and what is our final equity") with bitcoin and other cryptocurrencies and this made me saw better the relation between giving conditions and general market psychology, however I also witnessed some wrong positives coming by script and used a risk reward ratio to save user and set risk reward ratio 1/3 after a research.
For both conditions(buy_condition and sell_condition),when they are realised,script will alert users and an order will be triggered.
Before finishing the description,from settings/properties/ user can set initial capital,base currency,order size and type,but it is 100000 for initial_amount and 1 contract for order size by default.
In backtesting I used the options like the following example :
Initial capital=1000
Base_curreny=USD
Order size=40 USD
Properties place must set different by every single user according to his or her capital and order size must not be higher than his total money because this script is not the best or a good script for derivatives. It is only written for long term-crypto spot trading and I strongly recommend to users that margin may cause bad results and please do not use it with any margin or any market different than crypto market.
Thank you very much for reading)
Strangle MoverStrangle Mover is an indicator especially made for option writer / seller who wants to do strangle and adjust the position based on the market trend / movement. It can be use for iron condor strategy too.
Settings: User must know the settings of the indicator before using .
First one is Option Strike Difference , user need to enter the correct option strike difference of the particular instrument / stock / indices, one can get it from option chain. For example, Nifty having 50 points differences in each option strike and bank nifty having 100 points. So, Nifty user must enter 50 and Bank nifty user must enter 100 in this setting.
Second is strangle distance multiply , user can choose the distance from the trend price. For example, nifty user selects 3, strangle line starts showing (3*50) 150 points away strike from the trend area.
Third is Length, default value is 20 which generally used in vwma, donchian channel and other trend finding indicators. User can change if need.
Note: Option Strike Difference and Strangle Distance Multiply is very important setting to use this indicator.
User must do adjustments based on their own risk and strategy. This indicator is only for education purpose.
Pivot Reversal Strategy + alerts via TradingConnector to indicesSoftware part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector and instantly executed there. Alerts added in this script: 14 and 22.
How it works:
1. TradingView alert fires.
2. TradingConnector catches it and forwards to MetaTrader4/5 you got from your broker.
3. Trade gets executed inside MetaTrader within 1 second of fired alert.
When configuring alert, make sure to select "alert() function calls only" in CreateAlert popup. One alert per ticker is required.
Adding stop-loss, take-profit, trailing-stop, break-even or executing pending orders is also possible. These topics have been covered in other example posts.
This routing works for Forex, indices, stocks, crypto - anything your broker offers via their MetaTrader4 or 5.
Disclaimer: This concept is presented for educational purposes only. Profitable results of trading this strategy are not guaranteed even if the backtest suggests so. By no means this post can be considered a trading advice. You trade at your own risk.
If you are thinking to execute this particular strategy, make sure to find the instrument, settings and timeframe which you like most. You can do this by your own research only.
Consecutive Up/Down Strat + alerts via TradingConnector to ForexSoftware part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector and instantly executed there. Alerts added in this script: 12 and 15.
How it works:
1. TradingView alert fires.
2. TradingConnector catches it and forwards to MetaTrader4/5 you got from your broker.
3. Trade gets executed inside MetaTrader within 1 second of fired alert.
When configuring alert, make sure to select "alert() function calls only" in CreateAlert popup. One alert per ticker is required.
Adding stop-loss, take-profit, trailing-stop, break-even or executing pending orders is also possible. These topics have been covered in other example posts.
This routing works for Forex, indices, stocks, crypto - anything your broker offers via their MetaTrader4 or 5.
Disclaimer: This concept is presented for educational purposes only. Profitable results of trading this strategy are not guaranteed even if the backtest suggests so. By no means this post can be considered a trading advice. You trade at your own risk.
If you are thinking to execute this particular strategy, make sure to find the instrument, settings and timeframe which you like most. You can do this by your own research only.
RSI Strategy with alerts via TradingConnector to ForexSoftware part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector and instantly executed there. Alerts added in this script: 12 and 17.
How it works:
1. TradingView alert fires.
2. TradingConnector catches it and forwards to MetaTrader4/5 you got from your broker.
3. Trade gets executed inside MetaTrader within 1 second of fired alert.
When configuring alert, make sure to select "alert() function calls only" in CreateAlert popup. One alert per ticker is required.
Adding stop-loss, take-profit, trailing-stop, break-even or executing pending orders is also possible. These topics have been covered in other example posts.
This routing works for Forex, indices, stocks, crypto - anything your broker offers via their MetaTrader4 or 5.
Disclaimer: This concept is presented for educational purposes only. Profitable results of trading this strategy are not guaranteed even if the backtest suggests so. By no means this post can be considered a trading advice. You trade at your own risk.
If you are thinking to execute this particular strategy, make sure to find the instrument, settings and timeframe which you like most. You can do this by your own research only.
MACD 5 iN 1 [Pro-Tool]introducing MACD Which has different indicators inside,
And not only that, five different strategies have also been included in this indicator.
Strategy №1:👉 MACD Crossover Signal Line
Strategy №2:👉 MACD Crossover + MACD Overbought Section (for ignore false Crossover signals)
Strategy №3:👉 MACD Crossover + Market Close should b greater tha MOVING AVERAGE
Strategy №4:👉 MACD Crossover + Market Close should b greater tha MOVING AVERAGE ZONE
Strategy №5:👉 MACD Crossover + RSI Close should b greater tha 50 Level (or whatever level you choose)
also 5 types of MOVING AVERAGE you can choose
1: Simple Moving Average ( SMA )
2: Exponential Moving Average ( EMA )
3: Weighted Moving Average ( WMA )
4: Volume Weighted Moving Average ( VWMA )
5: Relative Moving Average (RMA)
and you can customize MACD Colors + Widths + Signals and MACD lines, and also can Hide or Unhide Histogram / Cross Sign / MACD Zone Color
hope so you like it, 🥰
Investing and trading in cryptocurrencies is very risky, as anything can happen at any time.
***NOT FINANCIAL, LEGAL, OR TAX ADVICE! JUST OPINION! I AM NOT AN EXPERT! I DO NOT GUARANTEE A PARTICULAR OUTCOME I HAVE NO INSIDE KNOWLEDGE! YOU NEED TO DO YOUR OWN RESEARCH AND MAKE YOUR OWN DECISIONS! THIS IS JUST EDUCATION & ENTERTAINMENT! USE ALTCOIN DAILY AS A STARTING OFF POINT!
MACD + CMF + EMA + Supertrend by TradeSmartHello everyone and welcome to our first script release!
This script is one of many upcoming scripts. This one is a test for us, how it works, how you guys like this kind of stuff, and for feedback what we should change/improve at.
SCRIPT IS OPTIMIZED FOR:
EUR/USD 30 MINUTE TIMEFRAME
Video of the Strategy:
Search for “MACD + CMF + 200 EMA + Supertrend Trading Strategy Tested 100 Times with Great Results!” on our channel.
In this video you can find the exact strategy we programmed, just one added feature: Supertrend trailing stop loss. (position gets closed once the price hits the Supertrend indicator)
Now you can modify the following:
MACD settings
Supertrend settings
EMA settings
CMF settings
We will update the script with more and more features.
The first update will be:
Modifiable risk to reward ratio.
I will make a video of how to use this indicator next week, explaining all the features and more!
Hope you like it! Don't forget to let us know what we should change or improve. Thanks, and have a great day!
STRATEGY ENTRY RULES
LONG
When CMF is above 0 and price is under EMA. Also MACD has made a double cross above the zero line (meaning one cross down and one cross up by the MACD line). Then go long!
Note:
MACD or Signal must return under 0 in order to start a new position
If either of the MACD lines touches the 0 line before entry, we skip the trade and wait for the next signal.
SHORT
When CMF is under 0 and price is under EMA. Also MACD has made a double cross under the zero line (meaning one cross up and one cross down by the MACD line). Then go short!
Note:
MACD or Signal must return under 0 in order to start a new position.
If either of the MACD lines touches the 0 line before entry, we skip the trade and wait for the next signal.
TAKE PROFIT
When price hits the exit price (calculated from stop loss with the risk ratio), then exit with 50% of the position. The other 50% will stay open until the price hits the supertrend or the base stop loss.
STOP LOSS
When price hits stop loss then exit the position. Stop loss is calculated from the Supertrend and it is a trailing one, meaning it changes based on the movement of the price.
QUANTITY TO BUY
The quantity to buy is based on the Risk Per Trade % attribute. This means that we can set how much money we want to risk on one trade. Meaning that if we lose that particular position, then a Risk Per Trade % value of our equity will be lost.
Example: if you set the Risk Per Trade % to 1 % and you have a 100$ account balance, then if you loose the trade you will loose 1$ max.
[FN] Strategy - Store Level on ConditionThis is a function that you can use in strategies. Not a strategy in and of itself.
Example thumbnail is showing the function applied to a strategy.
Oftentimes, I am asked a question regarding how to hold a variable at a specific, constant level over a conditional period of time. This question is always asked in a very long convoluted way like "I want the strategy to know what the high of the last pivot was while I'm in a long." or some other variation of wanting a script to remember something from prior bars.
This function is designed to store a price or some numeric level on the bar that your conditional (bool) statements determine that it should be stored. In this construct, you would set conditional statement(s) to flip the 'hold condition' to be true on the next bar, then hold that value until either the "hold condition" is no longer true or the initial conditions trigger again, causing an update to the level that you want to capture.
You still have to come up with the logic for the start condition and hold condition on your own, but I've provided an example that should give you an idea of how to accomplish this and customize/deploy the function for your purposes.
The function will return 'na' when neither the start condition nor hold condition are true. There's multiple ways to implement this and variations on how the level is chosen. I've written extensive notes in the script to guide you through the logic behind the function. My hope is that it will be useful to those trying to build strategies or anyone attempting to get their script to remember a level under given conditions.
In the thumbnail example, the take profit level is defined at the beginning of the trade and held until the take profit order executes. The order execution is a separate matter. However, storing the take-profit level at a static value is key to telling the strategy.exit() function what price to execute a limit exit order at.
Example: strategy.exit("Exit Long", from_entry = "long", qty_percent = 100, limit = stored_value)
Let me know how it works out for you and if I can be of any assistance.
Note: Strategy results are mainly derived from the fact that the strategy is long-only, the NQ only goes up, and there is no stop loss in place. So don't ask for the specific strategy, because unless you're trading a single contract with a $500,000 account, you'll probably get liquidated using this strategy as it is presented.
Straddle / Ironfly AdjustmentStraddle / Iron fly Adjustment is an indicator to assist (especially) Nifty / Bank Nifty Option Writers / Sellers (other instrument writers also) to draw their straddle / iron fly payoff diagram in the chart, mainly max profit and breakeven points and do adjustment based on the market movement.
Basic Idea: (My Conclusion for making this Indicator)
1) For Straddle / Iron fly writers need to adjust their position based on the market movement.
2) Here I give two adjustment ideas which one is my favorite method and another one is one of my friends is using.
a) Price Vs Time based Adjustment
I usually wait until price cross the price vs time line to do any adjustment. Generally, price vs time-based adjustment gives you more point to enter any adjustment in initial day/time when you created the straddle / iron fly. But one later it will reduce the range it become narrow.
b) Percentage based Adjustment
This method using by one of my friends which is based percentage between straddle / iron fly line and upper / lower breakeven points. Generally, he using 50 percentage. In this indicator we do have option to change the percentage between 25 to 100.
User must give inputs to see the straddle / iron fly diagram (Max Profit, Breakeven points, Adjustment, Percentage based adjust line and so)
This is not an intraday indicator and also its not suggesting you to take any buy/sell or straddle/iron fly positions. Its just giving an opportunity to draw a payoff diagram of for max profit and breakeven zone. And also helps to identify the adjustment based given scenario.
Happy Trading 😊
Saravanan Ragavan
VWAP Stoch Long Trailing Stop without wednesday and thursdaySimple trading strategy based on VWAP and Stochastic indicators and a 3% trailing stop.
After backtesting, wednesdays and thursdays seemed to be bad entry days so they are blacklisted.
Improved Bollinger Swing Strategy Stock NasdaqThis is an improved bollinger band strategy adapted to Nasdaq Index/Stocks.
The new update include a multiple logic calculation BB adapted for long and short, together with a risk management using movement in %.
Rules for entry
For long we have a crossover between the close and the lower band from the bb
For long we have a crossover between the close and the upper band from the bb
Rules for exit
We exit when we either find a reverse condition, or if we hit the take profit/stop loss levels.
If you have any questions, let me know !
Bollinger Bands Strategy [Alorse]This is a highly effective strategy that is based on going against the micro trend when the price exceeds the Bollinger bands by X percentage.
The percentage set by default to 30%, you can change it from the indicator settings.
You also have the option of enabling or disabling Short entries.
Full Swing Gold Vwap Macd SMO StrategyThis is a full strategy designed for gold market using 12h timeframe chart.
Its components are:
VWAP monthly
SMO oscillator
MACD histogram
Rules for entry:
For long: when enter when close of the candle is above vwap monthly, current histogram is higher than the previous one and SMO oscillator is above 0
For long: when enter when close of the candle is below vwap monthly, current histogram is lower than the previous one and SMO oscillator is below 0
Rules for exit:
We exit the trade if we get a reverse condition.
We also exit the trade based on a risk management system, both for SL and TP using % movements.
If you have any questions let me know !