[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 242
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
I'm facing a problem with the clause, can you tell me how to implement the CCI condition in the function.
A condition must be set and the order must be closed at the 10pp profit level.
1) If CCI is looking down, at 10pp profit level we close a buy order.2) Sell - similar.
For some symbols, for example EUR/USD, quotes are 5 decimal places. However, my environment variables have values only 4 decimal places. How can I get the full value of environment variables?
And how did you look at them. Print() always outputs up to 4 characters. Preferably use DoubleToStr();
I have faced with the problem with CCI locking, do you know how to implement condition on CCI in the function.
A condition must be set and the order must be closed at the 10pp profit level.
1) if CCI is looking down, at 10pp profit level we close a buy order.2) Sell - similarly.
You have to do this
That's the way it has to be.
Thank you! That's it if I do it right, I'm not messing with the signs, am I?
Thank you! If I do this right, is there anything wrong with the signs?
The signs are correct.
The idea itself (CCI closing), from my point of view - not ahty....
I've been through this before...
But it's a question of strategy.
As many traders as there are strategies...
Can you tell me how to write the operator correctly, something with "or" doesn't work, it buys where it shouldn't.
Thank you!Remove the curly brackets, they are unnecessary. I wonder how it compiled at all?
Compiled it both ways and it still doesn't work.
(Strangely enough, it compiled =))
I've compiled both ways and it still doesn't work.
- >> that's good logic.
question - are the conditions themselves correct?