[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 256

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
Hi all. Please help: I need to assign to a variable the value of the current "MACD bar" and to a second variable the value of the previous...
I don't need a signal line.... it's just the MACD histogram correlation - the current MACD value with the previous one, that's what I need to assign them to the variables
did you look at the link?
I will duplicate with selections:
double iMACD( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift)
mode - index of the indicator line - here you need to specify which of the lines you need - line or histogram
shift - index of the received value. you need two values:
shift = 1 - previous value
shift = 0 - current value
I noticed for a long time that in the "account history" the orders closed at TakeProfit have [tp] in the comments, and some have tp/a...
What is the difference ?
Regards Bradman
Hello, everyone. I'm confused. How do I find out the slate of a vertical line in a subwindow?
Tried this.
Tried this
ObjectGetShiftByValue "Applies to trend lines and similar objects"
Use the iBarShift function
On this forum I recently read an idea that if you open 2 differently directed orders with the same SL at the same time, then after one of them closes you can try to make a profit. Has anybody checked this idea or not? Maybe there is a similar EA?
Expert Grid v.2.
"Copyright©2008 EAfactory.com and Expert-4x.com - "Revision: 264".
Opens positions in both directions and closes both if the difference is positive.
Tell me where i went wrong plz... or if it's MT4 itself, but my Buy orders open only on High bar, and Sell orders only on Close bar =) Although I haven't even stipulated these conditions in the Expert Advisor's code =)
Tell me where i went wrong plz... or if it's MT4 itself, but my Buy orders open only on High bar, and Sell orders only on Close bar =) Although I haven't even stipulated these conditions in the Expert Advisor's code =)