大宗商品
Bollinger Band Strategy (Basic) Version 1 This strategy is for learning purposes only. Pay special attention to these strategies on longer aggregation periods (like 1 hr chart or more). Don't expect accurate results when you set a limit to 10 cents above your entry to be accurate. For example if you set the chart to 1 day, the price may move down and hit a stop 10 times then tag your limit. If this doesn't make sense, just don't use strategies here. Learn more first. That being said, I don't have specific recommendations for each aggregation period, backtesting isn't always perfect.
Now then, this strategy can be used as the traditional BB method by setting the "Stop" and "Limit Out" to like 10000, check "Reversal Entry" and uncheck "Limit Time of Day" This will keep the strategy running just reverse your position when price crosses outside each band.
INPUTS:
Length - length of WMA that I used for mean of Bollinger Band (this may suppose to be SMA, too bad)
Source - O-H-L-C basis for WMA
Deviation - normal Standard deviation that would be set when using Bollinger Band
Trailing stop check box - your stop value will be either a hard stop or trailing stop for an exit
Stop - the stop value - remember you can set this really high and it won't stop out
Limit Out - the limit value for exit
Reversal Entry check box - This changes each entry from a reversal (traditional idea of BB) to enter a trend trade - hopefully version 2 will have choice to trend one direction and reversal in the other.
Limit Time of Day - Especially when trading futures, you may want to only trade a specific time of day, when this box is checked, you can set the entry times below, exit will still only occur based on limit/stop or a flip entry order (the opposite entry condition is met)
Tips:
when I don't know a thing about a price range, like gold. I can set the limit out to 10000 and play with a trailing stop to get a better idea of what is even possible before tuning further.
CS Buy/Sell Strategy (read the description)Get Buy/Sell signals and check their profitability in the Strategy Tester.
This script has been tested for the crypto space (Bitcoin, Ethereum, etc.) but works for other assets, as well.
I recommend to apply strategy tests on different time-frames (usually daily and 4hr work best) and go with the most profitable ones.
In the settings you have the ability to test the strategy using from - to dates to narrow down best profitable trade periods.
In order to add this strategy to your chart, click on "Add to favorite scripts" and in then, in your chart, go to Indicator and add it from your favorites.
If you have questions, please send me a message.
There is also a Long/Short focused script available with the ability to set alerts (requires an invite). If you want to add it. Just send me a message to get an invite:
[astropark - Premium] Long-Short V3-FOREX [Strategy]This indicator is not holy grail , but it is an amazing trend finder and works nicely between 3m and 1W timeframes on FOREX :)))
With this indicator you can enjoy its trading signal and backtest the strategy.
In order to check how much you could have been profitable with this script if you started trading from a specific timestamp, please use this nice website to get the integer number representing in seconds the date-time you want to start from: www.unixtimestamp.com
If you want to set alerts on both buy, sell, take profit and stop-loss signals you must use the following not-strategy indicator version:
HOW TO USE THIS INDICATOR
Buy/Long when you see a green "B" label on the chart at best price you can, you have time till next candle's open price , trying to buy as low as possible near the green cloud or below it. Green cloud acts like a moving support for price, so use it for more buys/longs. The bigger the cloud, the stronger the bull-trend and so the support.
Sell/Short when you see a red "S" label on the chart at best price you can, you have time till next candle's open price , trying to sell as high as possible near the red cloud or over it. Red cloud acts like a moving resistance for price, so use it for more sells/shorts. The bigger the cloud, the stronger the bear-trend and so the resistance.
This indicator suggests some TP (Take Profit) for both longs (in green color) and shorts (in red color): you can start (at least partially!) closing the current trade (eventually you start new longs/shorts at cloud touch if you are a bold trader!).
Keep in mind that the lower the timeframe you work on, the easier is the trend to change rapidly, so always set a -2% / -5% stop-loss on trades and follow the trend with a nice trailing stop strategy.
Of course, as said at the beginning, this indicator suggests some TPs (Take Profits) for both longs (in green color) and shorts (in red color) operations: when you see a TP, you can start (at least partially!) taking profits over the current trade and move stop-loss higher (at least at break-even).
This is a premium indicator , so send me a private message in order to get access to this script.
Do you like my free scripts? Offer me a coffee, a beer, a pizza or whatever :)
BTC jar: 1K5kuYQPEqoNo6GRmJbHWMPmqwKM5S3oRR
ETH jar: 0x091b541a6dd6fe08c4e7bd909baafb2fce9b975e
LTC jar: LSVoAChsZrVsvbNyUfdpxtFpDAUSaUTUig
XRP jar: (XRP deposit tag) 103997763 (XRP deposit address) rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh
PS: Do you need a customization or do you need a dev who implements your strategy? send me a private message ;-)
Intraday Buy/Sell signals for CrudeoilHi Everyone,
This is higly tuned intraday Buy/Signal generator for Crudeoil. It works on any time frames below 30 mins. But, the best setting is 15 mins.
How to use:
1. Just, apply this strategy to your crudeoil WTI instrument
2. Set your time frame to 15 mins
3. Buy the instrument whenever buy signal generates / Sell the intrument whenever buy singal generates
4. Strategy itself has 0.5% stop loss generating signals. But, create stop loss of 0.5% after buying/selling the instrument
5. Finally, whenever close signals triggers, just close the trade.
Note: Please try with only one lot at the beginning. If everything goes well after testing, mulitple lot can be used.
Disclaimer:
This strategy is for testing purpose only. Any profit/loss to the user's capitla is subject to market risk. And, the creator of this script is no where responsible.
Powerfull strategy MACD+RSI+STOCH ATR stop best on Crude OilMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
and sell (short) when the opposite condition occurs we place SELL STOP on previous day LOW
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1 and sell stop on Low.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og
Gold trading strategy with trend follow and TDOW conceptMy strategy uses a combination of three indicators MACD Stochastic RSI.
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time
This strategy works well on stocks and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
In addition I've decided to add a stop loss and "Trading day of week" concept
So the results are much more stable and we get more profit !
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
Goldclay movement (TF H1) for Trading Gold(XAUUSD)I test this scripts in Gold , mainly I use in Timeframe 15 min
( I try to use with other pairs , It is Ok after I finish test more parameter will post again)
This script will alarm when buy and exit buy , sell and exit sell.
Background :
Dark Green : Buy
Dark Red : Sell
Pink : may sell but not recommend or must use small lot size
Green : may buy but not recommend or must use small lot size
Blue : Interest zone for movement but not confirm buy or sell.
For position sizing I use Stoploss from Daily ATR with %Risk as shown.
you must try many parameter in TP SL %Risk ,....
But I think default value is Ok.
Oil Driller StrategyThis strategy makes money in the oil market. It uses a trend following strategy with a filter.
Its quite clever and has consistent returns.
Yay for me.
Dhananjay Volatility stop strategy v1.0
Sharing one more strategy after getting good feedback on my earlier published strategy.
This is simple volatility stop strategy where in we are using VStop as entry and exit point.
Again smart traders can add MA to decide the trend and can avoid trading in opposite direction of trend which will help them to minimize loss making trades.
There are more than 1 parameters which traders can use/change to make this strategy compatible to their instrument.
To understand what is VStop use google.com :-)
Looking forward to receiving feedback from all of you.
Ichimoku Cloud strategy for gold marketThis strategy is based on main ichimoku features (Leading span , conversion line and base line) compared to cloud conditions.
I indicated all possibilities in this indicator and strategy decision is based on crossing factors of each main line through two other line confirmations.
HL MovingAvg2Line Cross Dhananjay
Sharing the simple trend following trading strategy, traders can add their own rules in this, to minimise the losses and maximise the profits. Like below.
1. Go long only if price is above 189 days EMA/SAM
2. Exit position when high or low of previous candle is breached in the opposite direction of the trend.
3. Go long only if price is in up trend on higher time frame charts and go short when price is down trend of higher time frame charts.
Stop loss, target and other things can also be decided by the trader.
Idea is to capture the short term trend to trade in FnO or 2/3 days position in underlying instrument.
Traders can optimise the length of the Moving average so that your traded is set for maximum profit giving settings for this strategy. Different instruments responds to different moving averages because of different volatility.
Idea is to go long when price closes above 9 days EMA of Highs and exit and go short whenever price closes below 9 days EMA of lows, exit short when first condition meets after short trade.
I ma not that good with scripts, have many such ideas, interested script writers can get in touch with me so that we can create trading systems which have grater success rate .
cooltoyz: The Turtle SurferThis strategy applies the old tested turtle trading strategy, defining a channel and riding the trend, but
It has some twists tough, to make it adapt on the fly to changes in market conditions.
Since all parameters can be adjusted from the inputs, the strat can (and needs) to be fine tuned for the current values of an asset. for example, for gold values, it works good for years. for btc, it breaks for dates with values under 1500$. that's because 1% of 800 is not the same as 1% of 2400$..... Yeah, data fitting, i know all that....
Some of the parameters work well only for low volatility markets, others are designed exactly to capture volatility. So the parameters must be tested, turned on-off to see how well they do. The default values ARE NOT a generic good for all, most surely.
The Turtle Surfer moves slowly, but it's prepared to rabbit jump in/out if some moon/doom event shows up without invitation :)
If you want to play with the strat, start with all checkboxes off, then turn on/off each one and see the results for the asset you want.
I have had good results in xau, btc and eth
Double RSI with stochastic Strategy with SL (by Zhipengcfel)Added stop loss level when open positions. Results got better and max drawback reduced.
The current limitations are it will not add positions if having opened positions although meeting the entry conditions.
Next steps are adding positions when meeting entry conditions and set a upper limit quantities for open positions.
15 Minute Gold Trend-Following StrategyThis is the main strategy that I will be forward testing on demo for a month or two, then making it an EA in MetaTrader4
You can see the code for yourself this time, all the strategy is, is a crossover of various moving averages.
Commission included, $10,000 account.
Results over the past 3 months, beginning in January 2017.
5 minute XAUUSD Strategy (Gold)Most definitely this is the best strategy I have ever coded. (Read Note Below)
Version 3 of PineScript code, 2 contract/lot trades at once, pyramiding = 2.
Commission of 100 pips included on each trade, accurate representation of actual spreads, commission_value = 0.02.
This is essentially 270% of profit in a single month - check the date on the first trade.
Trend following strategy as all the previous ones before, but this one is crazy.
Max drawdown is 34%, all that drawdown and more is profit made, but there cannot be any emotional involvement in this strategy.
Choppy markets produce losses, as is with all trend-following strategies.
(4 lines of code, nice and simple)
Downside - the last month in which this was backtested may not provide actual representation of past movement (market could have been exceptionally trending the last month), (but maybe it does ;v)
Unfortunately, we cannot know because "TRADINGVIEW WON'T OFFER BACKTESTING FOR FARTHER BACK!" fix this please.
XAUUSD 1minute StrategySorry, protected script as it uses a couple key indicators that are somewhat of a trade secret.
What I will tell you, is that the code is version 3, so no repaints, although this one never had them in the first place.
In my code, I use 'contracts', which I suppose are sizes, of 20.
Commission included to make it more realistic.
All this profit is from the start of the last week.
This is a trend-following strategy, so it does poorly in ranging conditions.
Essentially 4 lines of code.
Upgraded XAUUSD 30m only Strategy V2.0So i've been fiddling around with this once more
The result is increased net profit, same time frame as previous strategy, more drawdown, but that comes with the net profit.
1 pip = 1$
Pyramiding of 3 orders.
Commission included.
More trades
Profitability rate is about the same.
Gold/Silver 30m Only Strategy Buy/Sell SignalsIn my free time I felt like coding this strategy, and after backtesting it, it appears that the 30m time frame is the most profitable.
I only have been working on it for gold, but it should work similarly for silver as well.
This includes no pyramiding, and with pyramiding orders of 5, this strategy is upwards of 100% profitable.
Buy order - when price is above the 162 day EMA and RSI is less than 35
Sell order - when price is below the 162 day EMA and RSI is greater than 65
I will probably be adjusting it to increase the profitability and %success rate.
420_betaA newer, more customizable version of the holy grail script I published for silver before.
This script is a work in progress (as was the last version) and although I have been trying to refine this script I would still only classify it in the early stages of development; unlike my previous Euro Dollar strength holy grail script which was designed to work with only the EU pair or the XAGUSD spread script that was designed to work only with silver traded in USD, this script is designed to work with ANY commodity traded in USD, EUR, GBP, or JPY.
In this version I have tried to make smaller time frames work (60 - 240 supported now?) and added a lot of options for average type to be considered in the basket. Not every average created equally though, so I need feedback still etc...
I have also added the ability to specify what the 'basis currency' is. For example XAUUSD --> USD is basis currency. XAGGBP --> GBP is basis currency.
The only supported currencies at the moment are USD, EUR, GBP, and JPY (case sensitive)
If someone requests another (CHF, CAD, etc) I can add that as well.
I have an alert centric version (study, not a strategy) that I am trying out as well on my Euro dollar strength script and this 420_beta script
If you want access, feel free to ask, but as this is still in beta and I'm looking for feedback I'll probably only provide this script to those who have a record of trading commodities here on TV (aka published an idea on XAUUSD, XAGUSD, USOIL, Copper, etc...)
- Snoop
420_alphaA newer, more polished (aka less buggy), and updated version of the holy grail script I published for silver before.
This script is a work in progress (as was the last version) and although I have been trying to refine this script I would still only classify it in the early stages of development; unlike my previous Euro Dollar strength holy grail script which was designed to work with only the EU pair or the XAG spread script that was designed to work only with silver, this script is designed to work with ANY commodity traded in US dollars as this script also utilizes my holy grail basket method to determine the true strength of any commodity in terms of USD.
USO - Adam Smith - Moving Average Cross StrategySimple Moving Average strategy for USO - United States Oil Fund . This strategy can be used on stocks and currencies but will need to tweak frequency on chart and backtest Max Draw Down to Net Profit ratios for maximum dollar gains.
GoldFinger .007Goldfinger.
He's the man, the man with the midas touch.
A spider's touch.
Such a cold finger.
Beckons you to enter his web of sin
But don't go in.