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.
Thanks for the reply. Looks like I have some homework to do. I will let you know how it goes...
__________________ “A loss never bothers me after I take it. I forget it overnight. But being wrong - not taking the loss - that is what does damage to the pocketbook and to the soul.” Jesse Livermore.
I need 5 digit after decimal from price quote, it will display when using DoubleToStr function. I want to store a vlue get from object and use it for further calcullation i.e "price2"
could anyone please help me to solve this problem
Please can you help me with my EA? It is based on the Inside Bar strategy, and, while it is very profitable in backtesting from June 08 this is a completely random phenomenon as it is not following the program whatsoever. The trade entry logic is based on this post here Between 40-100 pips per Day. But, instead, it places a new trade any old where as soon as the old one is closed and ignores the trading requirements. I'm sure my problem is really simple but my skills are not great.
I think that the problem is with these lines of code here:
if(Open[3]>Close[3] && High[2]<=High[3] && Low[2]>=Low[3] && Open[2]<Close[2] && ask-2*Point > High[2] || ask-2*Point> High[1])
{
Candle="Long";
}
if(Open[3]<Close[3] && High[2]<=High[3] && Low[2]>=Low[3] && Open[2]>Close[2] && bid+2*Point < Low[2] || bid+2*Point < Low[1])
{
Candle="Short";
}
Please can somebody help as I have invested hours trying to fix this and am running out of ideas!
Thanks in advance
Last edited by sfindlay; 12-11-2008 at 01:02 PM.
Reason: clarification
I use difference EA (copy from one origin EA) to trade difference pairs in difference chart window and I'd like to change the magic number but don't know how is the magic number works ? Could you please tell me:
1. How is the magic number works ?
2. How to change the magic number ?
3. Can I take any number to change the magic number or I MUST use some number in some rules ?
4. Could you give me an example to change magic number at my EA's magic number: 16763 ?
Magic number is nothing more than a unique identifier. It distinguishes each instance of the same EA while also distinguishing it from any other EA that you may have running.
If the magic number is an external variable just change it to any number you want. Just be sure it's not the same number as any other EA you have running.
If it's not an external variable then look in the code for the variable and change it to any number you want.
Magic number is nothing more than a unique identifier. It distinguishes each instance of the same EA while also distinguishing it from any other EA that you may have running.
If the magic number is an external variable just change it to any number you want. Just be sure it's not the same number as any other EA you have running.
If it's not an external variable then look in the code for the variable and change it to any number you want.
Hope that helps.
Lux
Hi Lux,
You mean I can change my EA's magic number:16763 to 16764 ; 16765 ect... ?