GlobalMarketSignals

GMS: Moving Average Crossover Strategy

GlobalMarketSignals מעודכן   
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
הערות שחרור:
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
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?