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 have created a really simple EA. and a system which i use in atleast 3 Timeframe..May problem it doesn't stop opening and i don't want to have 3 EA and 3 chart for one pair.
i need a code that would only do one order for buy and for sell per bar per TF and still open if it is on a different bar. i can have buy and sell and the same bar.
Sometimes i have 3 signal in 3 different TF. i want to take all order but i want only one order per TF and i can still take another order in another TF if it is still open but in a different bar.
example:
1 signal in 4h
1 signal in 1h but it falls in bar for 4h
1 signal in 30 min but only one bar for 1h and 4h.
3 signal will be open.
i am ok with using magic number as means of filter.
can someone help me? thank you very much.
so far this is what i thought:
for 30 mins
if (magicnumber == 123)
{
if (iTime(OrderOpenTime()) != iTime(Symbol(),PERIOD_M30,0))
{//my order code}
}
i don't have MT4 but i know somethings is not right in the logic or code. So guys please help me.
also i think we have similar problem with matrixebiz
But the indicator doesnt appear on a seperate window properly.Any help much appreciated.
Because the indicator is forced bounded:
Remove this two lines:
#property indicator_minimum 0
#property indicator_maximum 100
Levels only works fine on bounded indicators but to do a bounded indicator the calculation must include the limits.
Example: RSI = 100-(100/(1+U/D))
We know by that formula that the indicator will move between 0-100 and because that we could include 70-30 levels without fear to they would disappear.
Another example is MACD = EMA(CLOSE, 12)-EMA(CLOSE, 26)).
We set a level on M5 and when we move to H1 most probable is the level has gone.
So, we take the same formula and we make some changes MACD = (EMA(CLOSE, 12)-EMA(CLOSE, 26))/EMA(CLOSE, 26). And now we have a percent indicator. Is not bounded but we have less probabilities to lost our levels.
i have created a really simple EA. and a system which i use in atleast 3 Timeframe..May problem it doesn't stop opening and i don't want to have 3 EA and 3 chart for one pair.
i need a code that would only do one order for buy and for sell per bar per TF and still open if it is on a different bar. i can have buy and sell and the same bar.
Sometimes i have 3 signal in 3 different TF. i want to take all order but i want only one order per TF and i can still take another order in another TF if it is still open but in a different bar.
example:
1 signal in 4h
1 signal in 1h but it falls in bar for 4h
1 signal in 30 min but only one bar for 1h and 4h.
3 signal will be open.
i am ok with using magic number as means of filter.
can someone help me? thank you very much.
so far this is what i thought:
for 30 mins
if (magicnumber == 123)
{
if (iTime(OrderOpenTime()) != iTime(Symbol(),PERIOD_M30,0))
{//my order code}
}
i don't have MT4 but i know somethings is not right in the logic or code. So guys please help me.
also i think we have similar problem with matrixebiz
Here´s one that is probably very simple to figure out but I´m relatively new to this and have no clue how to solve the problem.
This indicator compiles without problems but there´s nothing showing up on the charts. I´m sure some of you more experienced programmers might see quickly where I made a mistake. Any help is greatly appreciated.
The indicator should draw an arrow on the charts when certain criteria are met... I wrote the explanations into the code, that makes it easier to follow...
I attached the mq4 file... i have not been able to insert the code into this box without making it look really messy .....
I´d be thrilled if anyone can help me with it... THANKS GUYS!
CEH
P.S. perhaps you can figure out how to insert the code into the message box and then comment on it, that way more people can learn from it...