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.
Metals
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.
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.
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