[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 366
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
you have
but you have to (comparison)
Take the code of any OEM indicator and see how the code is formatted
I don't see any difference. for example, it's a standard discipline. it's just the complexity that makes it so. however, besides the bracket itself it may be a matter of ";" for example...
pay more attention to the brackets ))))
Symbol()
Is this what you mean, for example?
if(OrderSymbol()==Symbol())
fixed it then. The error remained.
is it also if? or what?
I'll redo it then...
should look like this: if(OrderSymbol()==Symbol() ??
all the symbols are defined.
removed the parenthesis - nothing has changed.
the penultimate bracket is unnecessary
where's the mistake a, in terms of brackets everything seems to be straight?
without errors.
The only problem is that the results are not so good.
Help me to understand how to make it so that only one order was opened in the direction of the previously received signal. close it when one of the indicators will show a reverse signal. and all taking into account the currency pair
I'd rather have it like this: (for example on the eurodollar chart, there is a buy signal)
if total>1
if currency pair = eurodollar
if the order is Sell
close the order
open a buy order
The general view should look like this
if (buy signal)
if total==0
buy
otherwise (total >1)
check on which currency pair opened deals
if our
if on sale
close it and go back to buying
or else (total = 0, open a buy) ....