Copy of Open Close Cross Strategy. PineScript version 4.
Thanks to Duyck for the idea for this code, and for the code itself. Also thanks to Everget, KyJ and kiasaki for code used in the calculations. The indicator measures Moving average angles and generates a long or short signal based on the slope. The chart used to optimise the current settings is XBT/USD on Bitmex 8hr. You can change the MA length and stop loss,...
Go long when the price closes above the 200 SMA. Go short when the price crosses under the 200 SMA. Keep it simple.
Simple moving average crossover strategy with SMA and EMA, a time window and the possibility to set the 2nd MA as a factor of the 1st one (to quick cycle through them)
Converted the B-Xtrender script from Puppytherapy into a strategy script. B-Xtrender was created by Bharat Jhunjhunwal and published in this IFTA Journal . I've added the following features: Ability to use factors instead of individual values for each parameter. This will allow you to quickly check different averages (5 vs 7 for example). Defaults...
Example how to automatically set the date range window to be backtested from X days or weeks ago to present. Additional options are also included to manually set the date range or to show entire range available. Normally when you change chart period it changes the number of days being backtested, which means as you increase the chart period (for example from 5min...
Warm_Up I havent coded any scripts in some time, need to get back into the swing of things
Hi guy's this simple dude send nice message consider short/long when 8Ema Cross 34 Ema - If you learn this sutep and clear the false alarms (thats why it's - "consider") you can ride some waves Enjoy
QuantCat Momentum Finder Strategy This strategy is designed to be used on the 1 hour time frame, on all x/btc pairs. The beautiful thing is it plots the take profit, and stoploss for you for each entry- where I would say use the stoploss for sure and feel with water with how the price action is looking when in profit. In this strategy, I actually implemented...
QuantCat Intraday Strategy This strategy is designed to be used on the 15 minute time frame, on liquid x/btc pairs and BTC/USD. It works by having 2 moving averages, automatic stop loss calculation, and taking positions on MA crosses and MA zone bounces for confirmation. Stoploss is so crucial to minimise any damage from huge unexpected candles, the...
Simple moving average trading strategy. Based on: 10 MA 20 MA Daily timeframe
Possibility that you use four lines with different values. And that lines calculate a simple moving average. In my use, I put the numbers 9, 21, 72 and 200.