GlobalMarketSignals

GMS: Moving Average Crossover Strategy

This is a moving average crossover system built the way I would want it to be.

- The moving averages included are SMA , EMA , WMA , VWMA .

- You can select either for the first moving average or the second moving average.

- You can also select to see the Long trades, Short trades, or both at the same time.

- There is also a simple moving average trend filter. When this is selected, it only applies to the entries of a trade and not the exit. There are situations where the entry is above the trend filter and the exit is below.

The source code should be open so feel free to adapt it, make it more efficient, or take some part for your own project!

I hope it helps,

Andre
Release Notes: I just added in a % profit target and % stop loss. Each has an on/off switch so you can test each other together or independently!

Also changed the name in the strategy part of the code.

I hope it helps,

Andre
Remove from Favorite Scripts Add to favorite indicators

Comments

In relation to this part of the description...

"- There is also a simple moving average trend filter. When this is selected, it only applies to the entries of a trade and not the exit. There are situations where the entry is above the trend filter and the exit is below."

This also applies vice-versa, there are also situations when the entry is below the trend filter and the exit is above.
+2 Reply
MY MA LINES DON'T SHOW?
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works 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 Ideas Published Followers Following Private Messages Chat Sign Out