FearsAndHopesA strategy based on the assumption that if you buy in a panic and sell on the euphoria of the crowd, then in the long run you get a profit. The strategy is symmetrical, that is, we assume that FOMO and FUD have an equal impact on the crowd. Never make different paired parameters. Do not try to get a perfect result on the backtest. The setup is symmetrical, the program does not use EMA, requests to larger timeframes, and other things that can cause repaintings. However, if you use the value 1 in the Fast Sma Length field, repaintings is possible, use with caution. This algorithm makes me profit 2600% profit per year, which, of course, does not mean that the next year will bring the same. API history on Bitmex on request in PM. Use it as an indicator with pleasure. Access to the script and help in setting up costs 0.5 btc
Komut dosyalarını "the script" için ara
bee ZZBreakdown trading system ( TS ) based on the ZZ indicator ( zig-zag ) using SAR (stop and reverse). The system calculates the long level and short level, depending on the direction of the breakdown - we enter the long or short position. The strategy is always in position (in the market), the strategy being in the long side reverses the position at the short level, and accordingly, on the contrary, it is in short at the long level, thereby fixing profit / loss. The strategy has proved itself to be highly volatile. Strategy tested on BitMEX exchange. It is possible to get acquainted with the results of the strategy by running the script by history.
VRSI-MARSI StrategyI wanted to create an indicator which resembles price movement, aside to volume movement.
The "yellow-blue" line is the MA(5) of the RSI (9) of closing price.
The "orange" line is the MA(5) of the RSI (9) of Volume .
(Default plot of RSI and VRSI is not visible but can be made visible ("Settings" > "Style" > set "Opacity" of "RSI & VRSI"))
The Long (Buy) condition is triggered when the MA(5) of the RSI (9, close) goes up.
The Short (Sell) condition is triggered when the MA(5) of the RSI (9, close) goes down.
Comparing the price movement with the "orange" Volume line helps to spot a possible trend change,
for example when price goes up and an ascending Volume line starts to flatten or starts descending,
this could be a sign that the Bullish trend is weakening, predicting a possible trend change.
Or, when for example a downwards price movement is accompanied with a rising Volume line, this can be a sign of large Bearish power.
Because it still is a RSI indicator, the midline (50), and Oversold/Overbought area's (20-30 & 70-80) are important to watch, especially the MARSI!
A second strategy is made (VRSI-MARSI Strategy 2) where the Long/Short condition is triggered when "MA RSI (close) - MA RSI ( Volume )" crosses.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Long & Short entries, as well as the Entry Close are visible 1 bar after the trigger.
When the blue line changes in a yellow line (and vice versa) it will show a candle earlier (see yellow dashed lines = (1)).
Also, the condition is fulfilled when the candle closes (2), but the order doesn't take place in the same bar, but the next (3).
Because this is a strategy the "actual Order" will not take place at the "Close" of the candle (2), but at the "Open" at the NEXT candle (3).
I also have this strategy as a study (A+B), where the "Buy" & "Sell" shows a candle earlier.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The entries are default 5% of equity, without pyramiding, which already gives large profits.
A large part of the profit is because of the Entry Close of the Long & Short entries.
You can easily turn these off (Settings > Inputs) to see what profit the strategy gives without Entry Close.
Here they are disabled:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information available in the script ;-)
inwCoin RSI + Martingale Strategy===================
English
===================
* inwCoin Simple Martingale Strategy ( Double down ) for educational purpose.
* Entry Condition : RSI cross Oversold Level up
* Martingale Condition
(1) RSI cross Oversold Level up again
(2) If Martingale > 6 times, it will martingale with time-base too, using "Martingale Timer" value ( the candles count )
* Take Profit Condition : When position has profit more than "Take Profit Percent"
----------
Desc.
----------
Position Size Percent = Start Position Size, less start size = more capital left for matingale if something went wrong
Take Profit Percent = If position has profit more than this value, it will close position
Martingale Gap Percent = Calculate the gap between each martingale level
Martingale Multiplier = Martingale position size multiplier
Martingale Timer = If we already did martingale more than 6 times, it will buy more if the candle count from last buy entry more than this value ( time-base martingale )
Leverage = not working
RSI setup = RSI setting, Oversold level is important because the script will do first buy entry when RSI crossover oversold level.
-----------
Conclusion
------------
* People using Martingale a lot esp. in Forex EA/bot. Because if we "lucky" we'll get good profit every single day.
* But... if we unlucky and price keep going the other way, we'll have to double down like crazy and your portfolilo will get liquidated in no time...
* This is very risky strategy and I learned it the hard way...
===================
Thai
===================
ทำ strategy martingale มาเล่นๆ ลองวิชาขำๆ
ขี้เกียจแปลไทยแล้ว อ่านอังกฤษข้างบนเอาเอง 5555
QuarryLake v4As some of you requested, I will make the code for QuarryLake Open for you all.
I have also updated the script in version 4.
This strategy consists of 3 indicators that I found works quite well together.
Keltner Channel, Waddah Attah Explosion, and Volatility Stop .
KC Period = 200
KCATR = 5
Vstop Period = 3
Vstop Mult = 1.5
Long when close > KC, close > Vstop, WAE trendUp
Short when close < KC, close < Vstop, WAE trendDown
Works well on BTCUSD XBTUSD , as well as other major liquid Pair.
This strategy utilized a modified Kelly position sizing for BTCUSD Bitstamp , feel free to modify it to your needs.
And lastly,
Save Hong Kong, the revolution of our times.
Trend SR based strategyIt is a logical continuation of my Trend SR based indicator
Algo of strategy is next
1)Detect SR levels
2)Calculate separate channels for SR made by highs and lows
3)it takes position if the current SR is breaking and close price is not in opposite channel zone
4)It closes position if prise leave current channel zone or as an option (stoploss) if SR is breaking in an opposite direction
-uses //@version=4
-no volume needed for detecting SR breaking and entering a long position
-volume confirmation of SR breaking may be used in the option section
-volume has an option to use smoothing with MA: SMA, AHMA, VIDYA
-volume has option to use volume pump as confirmation of SR breaking (simple dev function)
-stoploss as option
-uses barstate.isconfirmed (returns true if the script is calculating the last (closing) update of the current bar) for entering position on current bar close
-as an option, all or only current SR levels detected by algo can be plotted
-option to plot SR as a channel - as FILTERED whole SR history, in a long or short position it plots only stoploss level and entering opposite position level, in no position it plots long and short entering levels
It works well on 1D
For using on 4h or lower timeframes - Volume confirmation with VIDYA or AHMA may give better results
For better work especially on LTF algo needs better detection of highs and lows, now it uses fractal filter of last bars
Candle Patterns Strategy//I saw this code from DanyChe, i modify it to work on the latest version of pinescript
//The script allows you to test popular candlestick patterns on various instruments and timeframes. In addition, you can configure risk management (if the value is zero, it means the function is disabled), and you can also specify the time of the trading session (for example, so that the positions are not transferred to the next day).
//The author is grateful to JayRogers and Phi35, their code examples helped a lot in writing the strategy.
APEX - Swing Aura StrategyA backtester of my new strat, it's a hybrid swing/scalp strat that really looks for quick low profits. Will keep it hidden as it's a bit of a work in progress right now. Working on it to perform well enough with the Apex Trading bot, ran it for a day now and it ended the day on a 1.78% portfolio profit, so I'm really pleased with that.
As for details it's based on Keltner Channels, Bolingers Bands and a Ichimoku cloud. To spice it up there's even a Wave trend in there as well!
All the settings for the bits and parts are changeable so feel free to mess around with them, but will keep my sell triggers fixed for now, so no editing of those from within the script unfortunately.
Enjoy!
TB! -=SmartWave=- [Incl. Volume]My Precious SmartWave Formula Ready for Action.
What does it do?
It monitors buys vs sells, since the market moves because people buy n sell,i kinda thought it would be important.
It also monitors price action in relation to that volume to determine if a lot of volume is gobbled up by (over-) leveraged positions.
It provides a good insight when to take some action.
NB.
The drawback and the losses it makes can be reduced a lot with a 2.5% stoploss and fib based TP's, i just did not care to have the script deal with those,
[Autoview][BackTest] open and close expSo this model is experimental open and close model , with take profit . so far seems ok from point of repainting but I cannot say that its not repaint . so be aware on this issue if you use it in live trade ( its still work in progress)
if you want to make it as a study with alerts just change the strategy to study
The issue with all open and close models in TV that they tend to repaint if we use MTF higher then the time frame that we use . I try to put a filter in order to dump this issue but its still a work in progress
so if you find this model to be repainting please let me know .
you can use the script for other model for back testing ,just remove the model that is control of the buy and sell and put your own model instead .
bfcp2018This strategy is the perfect balance of controlling the profitable accuracy and the times of trading. This version of the script has been written to reduce repaint and delay.
Works on any time frame. Kindly adjust the strategy settings for each single market.
This strategy is published for invited users. Only the customers will be granted access.
Bollinger Bands Strategy LingsbordIndicator made by the idea provided by Lingsbord from the forum Binary Options Edge.
Features Implemented from Original Idea
Trade Sessions 0410-0815 and 0930-1200 (for some reason pinescript works off UTC-4?, London is UTC+1)
Indicator only signals when bar is inside trade sessions.
Background is shaded when Trade session is active.
Indicator Draws Arrows when a bar closes outside of 2.5 bollinger band.
Trade is executed at the opening of the next bar and recorded in the strategy tester.
Modifications to Original Idea
This Strategy has been modified to include his "Anti-Breakout Protection) where it will only place 2 consecutive losing trades in the event of consecutive bar closing outside of the bollingerbands.
www.binaryoptionsedge.com
In the Event of the first trade ending ITM and the next bar closing back inside the Bollinger bands then the next bar going back outside, the script will trigger another trade signal.
Allows for consecutive wins in an uptrend but still limiting to 2 losses as per modification above
Excel Spread sheet tracking profits
$1887.04 from Monday 17-09-2018 to Friday 21-09-2018
i.imgur.com
www.binaryoptionsedge.com
Step 1.
I have an FXCM demo account running Metatrader 4 and a 1 min EURUSD chart open.
This chart has 1 indicator on it, Bollinger Bands with settings 20 and 2.5.
I found that deviation of 2 creates too many false signals and deviation of 3 means you’ll be lucky to see more than 3 trades per day.
I settled on 1 minute for the number of trades it offers during an average day and because the 5 minute offers no better ITM rate.
I also have the Market Watch window open on the metatrader but I reduce the size of the box down so I can only see the EURUSD rate and the clock.
It’s this clock that I use as my “countdown trigger”.
Step 2.
-Redacted- (Affilliate marketing bullshit) -Redacted-
Step 3.
OK as you will have seen elsewhere on the BOE Boards,
the trading strategy is simply to take a trade in the opposite direction when a candle closes outside the Bollinger Bands,
so if it closes out of the top band I enter a Put, and if it closes below the bottom band I enter a Call.
As the Market Watch clock gets into the 50s on the seconds and if a trade appears to be lining up,
I’ll hover over the Put/Call button and closely watch the clock and the chart so I can nail the trade the moment the candle closes.
Expiry is 1 minute.
Trading times
I avoid the period prior to London Open as there’s often a series of trades in the same (wrong) direction as the market gears itself up for the day,
so I’ll normally look for the first trade from 09:10 UK time and I’ll then trade until about 13:15,
picking up again around 14:30 after NYC Open to avoid another rush around that time and to give me a chance to enjoy some lunch without worrying about trading!
For those of you trading Asian markets I’d avoid the “dead zone” and trade from about 02:00 onwards (again, UK time) when there might be enough movement to be able to make sense of this strategy.
Trade sizes
My first trade is $100. If this trade ends ITM I make $82 and look for the next one, again at the starting level of $100
If the first trade ends OTM then my second trade on the next signal is $320. If this trade ends ITM I make $262 which recovers the original $100,
also creates the original $82 of profit that the first trade would have made, and then makes a further $80.
Again your next trade is at the starting level of $100
If the second trade ends OTM then the third trade is $512.
If this trade ends ITM then it recovers the original $100 and the $320 but there’s no profit,
we’ve just recovered the losses and we move on with the next trade at $100
If the third trade ends OTM we REPEAT the $512 trade. If this trade ends ITM we generate $420 towards recovering part of the losses made in the other trades.
These 1-4 trade sequences we call “events”.
Most events will be only 1 or 2 trades,
i.e. you will be making consistent strong returns most of the time.
When an event consists of 3 consecutive trades you will break even on that event and look for the next trade
When an event consists of 4 trades where the 4th one ends ITM you will subsidise your loss on the previous 3.
Some people can’t face the concept of a trade that doesn’t generate profit,
but believe me I’ve run so many examples that this structure works best in terms of risk/reward over time.
When an event consists of 4 trades and the 4th one ends OTM you will take a “hit”.
Based on the above numbers the hit will cost you $1,444 at this level.
When this happens you set the platform back to $100 and start again.
bp2000 strategyThis strategy is the perfect balance of controlling the profitable accuracy and the times of trading. This version of the script has been written to reduce repaint and delay.
Works on any time frame. Kindly adjust the strategy settings for each single market.
This strategy is published for invited users. Only the customers will be granted access.
RAGNAROK MK IIRagnarok MK II the second gen of Sniper V7. A trend market indicator which confirms the sentiments of the traders where it is heading; such as a possible reversal, exit and entry indication. For those who are interested you can try Sniper v7 for free; Just favorite the script so you can use it into your chart. Feel free to dm me for questions and suggestions. :)
You can check down below about the Sniper V7 for the successful trade using the indicator
EXAMPLE OF SNIPER V7
SANUSD 2H
EOS 4H
ETHUSD 2H
SD_Bull_Bear_Engulfing_Rsi_SdThis strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65.
The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.
BB/StochRSI Strategy Backtest For Crypto BotThumbs Up for access
Buy is triggered when the price reaches chosen percent of lower Bollinger Band, Stoch RSI is oversold and there's a K/D signal crossover. The exit is when StochRSI is Overbought or K/D Crossover (toggle) AND/OR (toggle) price is greater than or equal to Top or Mid Bollinger Band (toggle).
Use 15m charts. It works excellent for consolidating/sideways markets and good for bullish impulsive moves but takes losses during impulsive downside market moves.
Results will be better in real-time. The script calculates the price based on the close, but a bot would calculate in real-time. Entries would be better. I recommend manually testing the strategy by using the "Date and Price Range" tool in TradingView.
I'll share the source code to those who wish to collaborate for improving profitability.
[LAVA] Volume StratA volume strategy indicator based off the size of the individual volume candles. Backtest to figure out which method works the best for your chart. A higher Profit Factor is what you want to look for since you want to trade less with better results for an overall lower commissioning fee.
Also, please contact me if there is any other indicator you would be interested in seeing as a strategy. I can do them all.
Please send your donation to any of the following addresses. Don't forget to add your TV name to the message when donating so that I can unlock the script for you. You can also send me a pm with your donation amount.
BTC: 1EabcghxBLZmGKHmKEP9W6S5ZSKeG4wLFA
BCH: 1M4QS5HE82Mk17ghKhaDeaXinL9CkLnhhR
LTC: LYaGjVAXGSLgTNiH7FbceP7ny4F4U8KWyN
ETH: 0x836ced779a10975248f847cad033c405a639b565
DASH: XhQexkwQUyDbvX4Xw78FHnxPvEsyRJYFqv
Click here for more information on these various cryptocurrencies listed above and others.
[LAVA] OBV stratAn OBV strategy indicator. Included is a method to show the RSI or Oscillator value. Backtest to figure out which method works the best for your chart. A higher Profit Factor is what you want to look for since you want to trade less with better results for an overall lower commissioning fee.
Also, please contact me if there is any other indicator you would be interested in seeing as a strategy. I can do them all.
Please send your donation to any of the following addresses. Don't forget to add your TV name to the message when donating so that I can unlock the script for you. You can also send me a pm with your donation amount.
BTC: 1EabcghxBLZmGKHmKEP9W6S5ZSKeG4wLFA
BCH: 1M4QS5HE82Mk17ghKhaDeaXinL9CkLnhhR
ETH: 0x836ced779a10975248f847cad033c405a639b565
DASH: XhQexkwQUyDbvX4Xw78FHnxPvEsyRJYFqv
Click here for more information on these various cryptocurrencies listed above and others.
Double RSI with stochastic Strategy on UKOIL (by Zhipengcfel)Adapted the double RSI with stochastic strategy to UKOIL. I optimised the strategy input parameters for UKOIL. It looks promising.
Currently I have not adapted stop loss to the script yet, only enter and exit condition based on trend. Next step I will add stop loss for the strategy and backtest it again.
Due to it is still in development and optimisation, I am sorry that I will not publish it to public currently.
I just use it as a development elog.
Thanks to tradingview for such a good blog system. -:)
Open Close Cross Strategy R5 revised by JustUncleLThis revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
*** USE AT YOUR OWN RISK ***
JayRogers : "There are drawing/painting issues in pinescript when working across resolutions/timeframes that I simply cannot fix here.. I will not be putting any further effort into developing this until such a time when workarounds become available."
NOTE: Re-painting has not been observed with the default set up, nor with Alternate resolution multiplier up to 5.
Description:
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.
Setup:
I have generally found that setting the strategy resolution to 3-5x that of the chart you are viewing tends to yield the best results, regardless of which MA option you may choose (if any) BUT can cause a lot of false positives - be aware of this. JustUncleL: using one of the Smoothed MA helps reduce false positives.
Don't aim for perfection. Just aim to get a reasonably snug fit with the O-C band, with good runs of green and red. JustUncleL: using SMMA (8 to 10) gives a good fit.
Option to either use basic open and close series data, or pick your poison with a wide array of MA types.
Optional Stop Loss and Target Profit for damage mitigation if desired (can be toggled on/off)
Positions get taken automatically following a crossover - which is why it's better to set the resolution of the script greater than that of your chart, so that the trades get taken sooner rather than later.
If you make use of the stops/target profit, be sure to take your time tweaking the values. Cutting it too fine will cost you profits but keep you safer, while letting them loose could lead to more draw down than you can handle.
Revsion R5 Changes by JustUncleL
Corrected cross over calculations, sometimes gave false signals.
Corrected Alternate Time calculation to allow for Daily,Weekly and Monthly charts.
Open Public release.
Revision R4 By JustUncleL
Change the way the Alternate resolution in selected, use a Multiplier of the base Time Frame instead, this makes it easy to switch between base time frames.
Added TMA and SSMA moving average options. But DEMA is still giving the best results.
Using "calc_on_every_tick=false" ensures results between back testing and real time are similar.
Added Option to Disable the coloring of the bars.
Updated default settings.
R3 Changes by JustUncleL:
Returned a simplified version of the open/close channel, it shows strength of current trend.
Added Target Profit Option.
Added option to reduce the number of historical bars, overcomes the too many trades limit error.
Simplified the strategy code.
Removed Trailing Stop option, not required and in my option does not work well in Trading View, it also gives false and unrealistic performance results in back testing.
R2 Changes by @JayRogers:
Simplified and cleaned up plotting, now just shows a Moving Average derived from the average of open/close.
Tried very hard to alleviate painting issues caused by referencing alternate resolution.
HullMA cross StrategyFrom Indicator420 by SeaSide420 HULL MOVING AVERAGE CROSS & CANDLE CROSS
Hull Moving Average (HMA) formula
Integer(SquareRoot(Period)) WMA (2 x Integer(Period/2) WMA(Price) - Period WMA(Price))
Solving the problem of lag requires an explanation with numbers rather than charts. Consider a series of 10 numbers from '0' to '9' inclusive and imagine that they are successive price points on a chart with 9 being the most recent price point at the right hand leading edge.
If we take the 10 period simple average of these numbers then, not surprisingly, we will determine the midpoint of 4.5 which significantly lags behind the most recent price point of 9. Here's the clever bit, first let's halve the period of the average to 5 and apply it to the most recent numbers of 5, 6, 7, 8 and 9, the result being the midpoint of 7.
To remove the lag we take the midpoint of 7 and add the difference between the two averages which equals 2.5 (7 - 4.5). This gives a final answer of 9.5 (7 + 2.5) which is a slight overcompensation. But this overcompensation is very handy because it offsets the lagging effect of the nested averaging.
Hence the result of combining these 2 techniques is a near perfect balance between lag reduction and curve smoothing. The HMA manages to keep up with rapid changes in price activity whilst having superior smoothing over an SMA of the same period.
The HMA employs weighted moving averages and dampens the smoothing effect (and resulting lag) by using the square root of the period instead of the actual period itself.
There are 3 HullMAs in the script, one runs on current price, and others on previous candle prices, when they cross over, is the entry signal.
The strategy also includes a candle cross condition for entry:
(if current price greater than previous candle value (Open+High+Low+Close)/4) then BUY
(if current price less than previous candle value (Open+High+Low+Close)/4) then SELL
in total 4 crossover conditions must be met to initiate a signal.
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TP📈 Strategy: 15-Minute Scalping — EMA + MACD + RSI + ATR-based SL/TP
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
🔧 Indicators Used:
EMA 50 — identifies the main trend
MACD Histogram — confirms momentum direction
RSI (14) — filters overbought/oversold conditions
ATR (14) — dynamically sets SL and TP based on market volatility
📊 Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
🛑 Risk Management:
Stop Loss: 1×ATR (user-configurable)
Take Profit: 2×ATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
⚠️ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
MA cross strategyI created an sma (10/30) strategy.
The script is under construction and can be changed, since i'm looking for a more profitable strategy.
If you have ideas to make it more profitable, please comment.
It is possible to change everything to your own needs.