You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Your macd2 variable is shifted to bar 1 whilst macd1 is on the current bar. (the final parameter is shift) so That is not going to compare properly... set them both to 1 or 0... not sure what trade_bar is but assuming it's confirming to only trade on a new bar... try this function instead..
hth
V
ok where do i put this and what do i take out the code....
so thanks much for being patient with me...
also i tryed the commen shift thing before too it did not work, it still did the same thing
Love is a telephone which always keeps silent when you are longing for a call, but rings when you are not ready for it. As a result, we often miss the sweetness from the other end.
Love is a telephone which is seldom program-contr moncler jacketsyou onlyolled or directly dialed. You cannot get an immediate answer by a mere "hello", let alone go deep into your lover's heart by one call. Usually it had to be relayed by an operator, and you have to be patient in waiting. Destiny is the operator of this phone, who is always irresponsible and fond of laying practical jokes to which she may make you a lifelong victim intentionally or unintentionally.
Love is a telephone which is always busy, When you are ready to die for love, moncler coats find, to your disappointment, the line is already occupied by someone else, and you are greeted only by a busy line. This is an eternal regret handed down from generation to generation and you are only one of those who languish for followers.
Love is telephone, but it is difficult to seize the center time for dialing, and you will let slip the opportunity if your call is either too early or too late.
Love is a telephone which is not always associated with happiness. Honeyed words are transmitted by sound waves, but when the lovers are brought together, the phone servers no purpose that many lovers observe that marriage is the doom of love.
what is this ...nice read but how does that help with the programming
can someone show me how to put this in my code
can someone show me how to put this in my code
Sorry, missed it... put the function right at the bottom of the page... outside the start() function. Then in your if statement where you have all that stuff saying bars-trade_bars, replace with Fun_New_Bar().
V
is it like this
Erm... not quite... Try reading the function code and see if you can work out what it's doing. Whilst that may actually compile... and may even run... think about what you have asked it to compare... What do you think will be the answer to Bars-TRUE. The best way, in an EA to detect new bars is to compare time rather than counting bars. The function simply detects if there is a new bar or not.
V