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
Metaller
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.
COT/CFD:CIP-LThe Commitments of Traders (COT) reports provide traders positions at the close of Tuesday's trading session. Reports show how many long and how many short contracts do traders of each category hold. This version covers the change in positions (CIP) in legacy format for CFD's. Default is Futures only. You can include Options from the input menu. From the style menu you can turn on or off different trader groups data. As the original data is weekly, charts will only work at weekly and upper time frames.
Tarzan's spread ratio indicator - DeLuxeThis indicator plots any two securities as a spread ratio using either +,-,/, or *.
It also allows you to use a simple moving average of length 1 to n for your spread ratio.
If you know what you want to do but don't know how to code it, we can work it out, you can float me some cheese on paypal and I'll do a nice job. This indicator is yours for free.
Tarzan = noprism@hushmail.com
Peace
USD (basket) / XAG SpreadHey all; I made this script for default usage on the 15 min chart for XAGUSD, try it out and tell me what you think.
It is similar to what the original user /u/MarcoValente published for his gold/silver spread script; however I have made some changes so this is usable for XAGUSD and utilizes my 'holy grail' method of basket weighting the USD (aka why the code is protected) for comparison against silver and I also made some visual enhancements like color changes, filled area of interest, and crossover markings.
One way this script can be thought of actually 'doing' is measuring the true strength of the USD against a basket vs silver. As the USD gains strength, the price per unit of silver should decrease; as the USD loses strength the price per unit of silver should increase.
The filled area is the difference between the spread and the slow MA; the marked crosses are the cross of the spread with the slow MA.
Feel free to PM me with questions etc. I find that this script is slow to load sometimes so if it doesn't immediately load try changing time frames a few times before returning to 15 min and if all else fails just wait it out haha
ENGULFING CANDLESTICK STRATEGY(i) Arrow represent trade setup
(ii) Circle represent triggering of the trade
--------------------------------------------------------------------
1. Where to place stop loss?
2. Where to exit the trade?
3. How to protect gains in your trade?
4. How to apply money management rule?
5. How to trade gap opening?
Correlation of chart symbol to different Index-ETF-currencyScript plots correlation of chart symbol to a variety of indexes, symbols, equities. ** Original idea was to find Bitcoin correlation, which I did not. Built in correlations are: Nikie, DAX, SPY, AAPL, US Dollar, Gold, EURUSD, USDCNY, EEM, QQQ, XLK, XLF, USDJPY, EURGBP
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.
[RS]Gold to Custom Currency V0Request for: sankar2389
Gold conversion from dollar to INR and to grams.
4H CCI Strategy 1.3Still working on fixing the code 100%.
Will update with a new version soon.
This one's fine tuned for gold (tp and sl size, and contract size for a 100k account)
Cheers,
Ivan Labrie
Time at Mode FX
Gold Price Trend Overlay This chart overlay provides the daily 9 SMA of Gold.
If the price of GOLD is ABOVE the 9 SMA then the line will be GOLD
If the price of GOLD is BELOW the 9 SMA then the line will be RED
A good way to use this overlay is by understanding how Gold effects currency pairs.
if GOLD is BULLISH - then AUD/USD is BULLISH
if GOLD is BULLISH - then NZD/USD is BULLISH
if GOLD is BULLISH - then EUR/USD is BULLISH
if GOLD is BULLISH - then USD is bearish
if GOLD is BULLISH - then USD/CHF is BEARISH
if GOLD is BULLISH - then USD/CAD is BEARISH
DOW / GOLD RatioHere's a new version with color goodness and using CL1! as the gold spot source (longer history).
[LAVA] Early Warning IndicatorCombined the RSI inverse of gold to USD with the Dollar index (or whatever stock symbol that may be inverted/complementary) with another asset/currency, like bitcoin, you can basically be well informed when a potential move is on the horizon. Settings allow for inverse settings and de-combining the two pairs as well as a nice cloud look if all the lines get annoying.
DOW / GOLD RatioThis indicator shows the ratio between the DJIA and the price of gold. When the ratio is below 5 it is generally accepted that a rotation from commodities to equities should be investigated. When the ratio is above 30 it is, likewise, advised to consider rotating from equities to commodities.
This is a modest improvement of the script to mark the key thresholds where equities/commodities holdings rotations could be prudent. I’m sure I’ll be submitting a number of instances of these scripts as I learn the syntax and features while developing them.