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.
whoa..
thanks guys..
how about buy stop and sell stop?
just change "BUY" over there?
just want 2 positions only for 1 pairs, not more than that..
sorry, still newbie..
1, add bool flag after trading criteria triggered
2, check bool flag before placing order
3, after placing order bool flag should be reset
4, reset the flag in init() too
Can you teach me how to create EA based on this indis ? when the arrow appear on the screen and that's the time EA auto enter position, can it be done ? please guide me as i'm keen in learning =^_^=
Hi guys, can anyone help me code this indis into EA ? Only a simple EA that enter position when the arrows appear on the screen, very much appreciated if could help me on a simple EA. =^_^= thanks
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 White
#property indicator_color2 White
extern int Fast.MA.Period = 5;
extern int Slow.MA.Period = 34;
extern int Signal.period = 5;
//---- buffers
double Buffer1[],
Buffer2[],
b2[],
b3[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
// two additional buffers used for counting
IndicatorBuffers(4);
IndicatorShortName("Elliott Wave Oscillator");
SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,3);
SetIndexArrow(0,242); // down 226 234 242
SetIndexBuffer(0,b2);
Does anyone have good code for trading multiple orders when running up against the maxlot barrier?
IE Broker only allows lots of 5, and you want to trade 10, so the function will trade 2 x 5 lot orders instead.
I'm looking for more than just a simple loop here. The problem is that a simple loop will not always fully complete, and you could be left with only a partial order open.