2nd patch Found an error in the orders. Script was making double orders at times. I fixed it. It is tuned as such: NZDUSD 15 min chart starting $USD to show 1000 contracts for minicontract with FXCM (start date 3-18 $633 ** see note) Indicator plots Starting equity-trade gain and loses-number of trades time spread = net money ** with 1:50 leverage it requires...
Found an error in the orders. Script was making double orders at times. I fixed it. It is tuned as such: NZDUSD 15 min chart starting $USD to show 1000 contracts for minicontract with FXCM (start date 3-18 $633 with 1:50 leverage) Indicator plots ==> Starting equity - (trade gain and loses) - (number of trades) * (spread) = true balance estimate
This strategy is based on my Indicator Integrator. The code sums the distances from the close of the price to an SMA (200 in example) with a summation period of the last 29 bars. I tuned this to NZDUSD 15min chart using 200SMA and 29 period sum. If I am reading strat tester correctly this hits a 39% gain since Mar-13 or 104 days. It has the ability to set stops...
Code takes six pairs that are highly correlated to GBPNZD and determines if their ROC's are increasing or decreasing. If a pair has an increasing ROC it is given a 1, if decreasing a -1. The numbers are all added up (this is similar to a count for counting cards in blackjack). If the count goes positive the strategy enters a long position, if negative a short...
Double Bollinger Strategy. Price crosses inner BB (with increasing outer BB) long is placed. Long is closed when price closes below outer BB. Reversed for short. The numbers are tuned for NZDUSD 15min chart. Pbin = percent on inner BB Pbout = percent on outer BB There are all kinds of other inputs, trailing stop, limit, etc. Errors, questions, suggestions are...
This is a light weight code and strategy. I tuned it for NZDUSD on a 15 min chart. NZDUSD is a slow moving low volatility pair. A single SMA cross over + crossing a .9 BB + the single SMA is increasing. I will be manually trading this with alerts and once I have LUA down I will set it free with FXCM and see what it can do on it own. ** I use BB as a means of...
UPDATE: IMPORTANT!!! MAKE SURE "RECALCULATE AFTER ORDER FILLED" IS CHECKED. I will have it on by default in the future. This is a continuation of my previous scripts of two MACD indicators with a Stochastic RSI indicator. New features: - Alternate MACD time interval You can now set the time interval for the second MACD indicator to a different resolution...
WARNING: despite of strategy doesn't use future data (not repaints) it doesn't consider broker`s commissions, which can be harmful for real life high frequency trading. Strategy will definitely fail on non-ordinary security behavior. But if new behavior will get stable, tuned params should make strategy profitable again. This is the second version of this...
This Strategy goes long when Sharpe Ratio is > 1 and Alpha against the S&P500 is generated. It exits when conditions break away. en.wikipedia.org(finance). Use on daily or 5min.
I've been trying to put a stop loss in the High or Low of the last second bar after I open a position but in this example the only way to close it, is with the opposite action. Does anyone know how to put a stop loss and order with just stop loss and close when there is a bullish or bearish engulfing bar?
WARNING: despite of strategy doesn't use future data (not repaints) it doesn't consider broker`s commissions, which can be harmful for real life high frequency trading. Strategy works well on ES futures short bars like 1min.
USE ON DAILY TIMEFRAME TO DETECT MOMO STOCKS & ETFs AND TRADE THEM This Strategy goes long when Sharpe Ratio is > 1 and Alpha against the S&P500 is generated. It exits when conditions break away. Strategy can be adapted to run intraday, it however needs different (lower) trigger levels. examples to try this on: GER30, NAS100, JPN225, AAPL, IBB, TSLA, etc.
some simple functions to handle account margin call / trailling stop for account.
How to win all the time if 1+1 = 2 The most upvoted strategies on Tradingview are those which seemingly work 100%, but they actually don't at all because they are repainting and would not work in live trading reality. They are using the multi-time-frame strategy testing bug and thereby trade during the backtest on close prices before the bar has closed in...
// Hull_MA_cross & Daily_Candle_cross combination with TP$ & SL$ setting // the theory is that SL$ can be reduced to low amount, to show actual trading results (reducing effect of repaint on results)
If you want a good strategy without repaint. This one might be for you. Excellent profitable for BTCUSD3M for OKCoin. It uses multiple time frame MACD for trading decision. To avoid repaint, set the delay period = 1 for both long term and midterm. The idea is that, if long term, mid term and current time frame all agree on traidng direction, the trade will...