Charts_and_Such_1

Moving Average Cross Strategy

Simply define your fast and slow M then backtest the strategy.

*First script, work in progress. Will allow you to combine two TV indicators into one .
Release Notes: - **Using XBT for this iteration
- Long and Short, immediately alternating, off the EMA's
- User defined Stop
- User defined Profit Exit
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Cool! Thanks TRI mate :)
Will use it as my Pine / strategy creation learning base.
+1 Reply
Charts_and_Such_1 criptonomics
@criptonomics, Thanks, let me know if you find any errors. TRI yeah!
Reply
Thanks it looks good. being new to pine, how would i get a strategy that uses the MACD Crossing UP with the MFI +below / +Above.
Reply
strategy tester is not working
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out