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
Не, тогда вопрос такой, открылась новая свеча, на предыдущем появился сигнал - точка. Он может исчезнуть? (я такого пока не заметил, в коде четко не разобрался) Если не исчезает, то какое формальное условие на вход надо прописывать в советнике исходя из данных только прошлых баров (1 и 2) ? Да хотя бы и с 0 - мне тоже подойдет :)
I have written in my Expert Advisor the following way.
plus=iADX(NULL,0,3,PRICE_CLOSE,MODE_PLUSDI,0);
plus_pr=iADX(NULL,0,3,PRICE_CLOSE,MODE_PLUSDI,1);
minus=iADX(NULL,0,3,PRICE_CLOSE,MODE_MINUSDI,0);
minus_pr=iADX(NULL,0,3,PRICE_CLOSE,MODE_MINUSDI,1);
high=iHigh(NULL,0,1);
low=iLow(NULL,0,1);
And the conditions
On buy: plus_pr<minus_pr && plus>minus && Bid>high
On the sell: minus_pr<plus_pr && minus>plus && Bid<low
Seems to be working
Спасибо, сейчас в своего попробую вставить.
I don't understand why it doesn't re-draw. I just looked in the indicator code, how it is built (namely ADX), and wrote the same in my Expert Advisor. I understand myself that it is based on the zero bar. I will have to check the Expert Advisor on the demo to see if there are any unnecessary deals. If I believe what the author of this thread says, I can cut a lot of cabbage:).
Спасибо, сейчас в своего попробую вставить.
I don't understand why it doesn't re-draw. I just looked in the indicator code, how it is built (namely ADX), and wrote the same in my Expert Advisor. I understand myself that it is based on the zero bar. I will have to check the Expert Advisor on the demo to see if there are any unnecessary deals. If I believe what the author of this thread says, I can cut a lot of cabbage:).
ГЫ, еще один советник будет, который докажет, что мартингайл зло!!! А автор ветки как считает? Может все таки лучше накапливать прибыльную сделку?
Gee... Is this a way of proving it already?
Then it's already proven here that forex is evil!
Show me an EA that proves otherwise! ;)
Спасибо, сейчас в своего попробую вставить.
I don't understand why it doesn't re-draw. I just looked in the indicator code, how it is built (namely ADX), and wrote the same in my Expert Advisor. I understand myself that it is based on the zero bar. I will have to check the Expert Advisor on the demo to see if there are any unnecessary deals. If I believe what the author of this thread says, I can cut a lot of cabbage:).