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
The code of SDC is not needed
you wanna check when happend the cross, wait 3 or 4 candles and in this moment do a sell or buy.
this function i give...
When someone is a beginner learning to code I thought it better to point them in the right direction with small code snippets that they might learn from and understand, rather than hand them a completed function that they probably wouldn't.
That was my fault I apologize I didnt check that code I just typed it into the src box and forgot about the intialization rule.
When someone is a beginner learning to code I thought it better to point them in the right direction with small code snippets that they might learn from and understand, rather than hand them a completed function that they probably wouldn't.
i didn't gave him directly the solution,
but the help you were giving him made him more confuse about how i thought to make it....
i told it was not needed to know time of the cross
now you see why...
(ofcours you are free giving also help and you might give better help then i can do, so it doesn't matter to me you do)
and thank you all for trying to help
after trying for MY NEEDS codes that you have helped me, I used to put the SDC, because, as I said, is that fits what I need,
my code so far, goes like this, full
Remember that somethintime() variables are set by hand or eye, lol
but I have a new problem, and that is that when I compare the time int the "INT BUY()", and if it is correct, = ordersend OP_BUY() or rdersend OP_SELL(), but if not, nothing happens, and I need so that when if not, return with each new candle compare the rule:
if (somethingtime()> timecrossBUY()) { ordersend.....ETC} }
I could not do
can you help me
THANKS
Latino:
when I compare the time int the "INT BUY()",
WHRoeder:
time is not an int it is a datetimebut it works well only if positive, need if negative, again making the comparison, with each new candle.
compare the TIMES, the diference,=
learn to code .......
at this moment you are not able to read and understand simple mq4 language