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.
You can try this EA to see the result. Please set SL = 100, TP = 300 , trailing stop = 70 and run it on EUR/USD H4.
Would you please kindly help me put martigale to trade this system:
Use an amount so that 100 pips = 2% of account balance
If the trade n-1 is lost, double amount of trade n until closing position with profit.
Thank you very much!
It worths to spend a little time, friends! This is the result of trading without martigale code. Initial deposit: 10000; 1 lot per trade. SL = 100; TP = 300; Trailing ST: 70; EUR/USD H4.
the difference between a and b <= c then trade = true, else false..
so far this is what i have made if anyone can show me a shorter way to code this..
if ( a >= b)
{
if (a - b <= c ) trade = true;
if (a - b > c) trade = false;
}
if ( a < b)
{
if (b - a <= c ) trade = true;
if (b - a > c) trade = false;
}
the difference between a and b <= c then trade = true, else false..
so far this is what i have made if anyone can show me a shorter way to code this..
if ( a >= b)
{
if (a - b <= c ) trade = true;
if (a - b > c) trade = false;
}
if ( a < b)
{
if (b - a <= c ) trade = true;
if (b - a > c) trade = false;
}
Thanks ...Perhaps ... you will have an idea about how to make the signals appear at the proper time...
Regards,
Tom
Hey Tom,
I was able to get back to this ZigZag indi and filter out intermediate alerts. I'm sending this immediately and have not tested it. Please let me know if you find any alert related problems with it.
Thanks
kevin07
Hello, I have an expert i use that needs to be able to resend a buy or a sell order if there is a problem opening the order up if the the server is disconnected, busy or what have you. This morning it should have opened an order but couldn't because the platform was disconnected. In the code right now it is set to wait 3 seconds then try again, which it did but it only tried 3 times then stopped trying to send the order thru. my ea doesn't scalp but is more a mid term trade so I only get 1-3 trades per week per pair. How can i have it coded so it will wait 10 seconds before it tries again and then it will keep trying to send the order until it gets through, i would like to have the option of adjusting it in the code how many seconds it waits to try again and then also how many times it will keep trying.
I've attached a snippet of code so someone could see what could be changed. Thanks in advance for your help!
Mike
RefreshRates();
int ticket=OrderSend(Symbol(),OP_BUY,ManagedLotSize(), Ask,Slippage,sl,tp,"Expert" + " - " + Period(),MagicNumber,0,Lime);
if(ticket<0)
{
Print("Error opening BUY order : ",GetLastError());
Sleep(3000); //---- wait for 3 seconds
}
else
{
break;
}
}
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES ))
{
Print("BUY order opened : ",OrderOpenPrice());
}
else
{
Print("Error opening BUY order : ",GetLastError());
}
}
for (int i = 1; i <=5; i++) //---- Loop if requote
{
RefreshRates();
int ticket=OrderSend(Symbol(),OP_SELL,ManagedLotSize() ,Bid,Slippage,sl,tp,"Expert" + " - " + Period(),MagicNumber,0,Red);
if(ticket<0)
{
Print("Error opening SELL order : ",GetLastError());
Sleep(3000); //---- wait for 3 seconds
}
else
{
break;
}
}
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES ))
{
Print("SELL order opened : ",OrderOpenPrice());
}
else
{
Print("Error opening SELL order : ",GetLastError());
}
I will test the new version of nonlagzigzag alert signal when the market opens Sunday. Thanks again for your work. You and others here who give their time and expertise pro bono are what makes many of us more successful traders. I will let you know my results with the new indi.