Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I know that Moving Average cross systems are quite popular, so I made a generic one that can take whatever standard MA you want. An explanation of the features is in the source code, but I'll also post them here:
Code:
extern string averages="==== MA Settings ====================";
extern int FastPeriod=5; // Period for calculating MA
extern int FastShift=0; // Shift the MA over X number of bars
extern int FastType=0; // 0: Simple moving average
// 1: Exponential moving average
// 2: Smoothed moving average
// 3: Linear weighted moving average
extern int FastApplication=0; // 0: Close price
// 1: Open price
// 2: High price
// 3: Low price
// 4: Median price, (high+low)/2
// 5: Typical price, (high+low+close)/3
// 6: Weighted close price, (high+low+close+close)/4
extern int SlowPeriod=10;
extern int SlowShift=0;
extern int SlowType=0;
extern int SlowApplication=0;
extern string manage="==== Order Management ====================";
extern int BreakEvenAtProfit=0;
extern int BreakEvenShift=0; // Move the breakeven point up or down around the order open price
extern int TrailingStop=0;
extern bool OnlyTrailAfterProfit=false; // Trailing Stop will only trails when order is profitable
extern string account="==== Account Settings ====================";
extern int MinimumEquity=0; // New orders will be disabled if equity drops below minimum
extern int MinimumBalance=0; // New orders will be disabled if balance drops below minimum
extern string activity="==== EA Activity Settings ====================";
extern bool DisableClosingOrders=false; // If true, the order closing section of the EA will not run
extern bool DisableNewOrders=false; // If true, the order creating section of the EA will not run
extern int ConcurrentOrdersMax=10;
extern string id="==== Identity Settings ====================";
extern int ExpertID=127792141; // Magic number: for identifying an EA's orders
extern bool TimeSpecific=false; // If true, Time frames are considered in determining
// whether an order belongs to the EA or not
extern string ExpertName="Generic MA Cross"; // Expert name: for aesthetic purposes
__________________
"Don't workharder, work smarter." -- my Java professor
Hi....
Sorry i have no programming background at all, but i want to make an EA based on LWMA. The logic is very2 simple, buy if the "CANDLES FULLY FORMED" above LWMA and vice versa for short...
I love moving averages, thanks for creating this thread. I am working on a system with MA cross, well a variation of ma. They are called t3 and t3-1. The results look very auspicious. More testing is required. Can you help me with one thing? A audio alert when they cross. I would appreciate that if you can.
I love moving averages, thanks for creating this thread. I am working on a system with MA cross, well a variation of ma. They are called t3 and t3-1. The results look very auspicious. More testing is required. Can you help me with one thing? A audio alert when they cross. I would appreciate that if you can.
I love moving averages, thanks for creating this thread. I am working on a system with MA cross, well a variation of ma. They are called t3 and t3-1. The results look very auspicious. More testing is required. Can you help me with one thing? A audio alert when they cross. I would appreciate that if you can.
Post the code or PM me if you want it confidential.
I'll add an alert for you.
ps: mq4 file is the code. if you don't have the code, we can't help you.
Before I take the final step in this forex saga, & throw the whole bunch of
c--p in the bin...is there anyone out there who can point me at a SIMPLE moving average entry EA.
All I need is an entry at open of next bar following a cross (My choice of MA's type & style, TP & SL) - nothing else (Though it would be nice if I could also choose a time for it to place the trade).
Thanks all
(Moderator, please move if in the wrong thread)
__________________
It ain't the length of the trend, it's what you do with it!