View Single Post
  #410 (permalink)  
Old 05-23-2008, 12:35 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I am not sure but I see the price for sell order and close order price on the chart and in journal and it is the same one. As to value of MACD indicator so just value in in the journal (in red) and you may see it on the chart in selarate window: it is not written but using mause it is possible).

I am not really sure but I think that standard MACD is using:

Code:
if(MacdCurrent>0 && MacdCurrent<SignalCurrent && MacdPrevious>SignalPrevious && MacdCurrent> (MACDOpenLevel*Point) && MaCurrent<MaPrevious)
It means the following:
- if MACD value of closed bar is above 0;
and
- MACD value of closed bar < Signal line value of same closed bar;
and
- MACD value of previous closed bar is above Signal line value of previous closed bar;
- MACD value of closed bar > MACDOpenLevel*Point (MACDOpenLevel is in the settings of the EA);
and so on
...

As I understand, MACD value of closed bar is value of MACD on previous bar. Because bar should be closed. Nearest close bar. Bar closed - order openes.
So, it is not the value of MACD on the same bar with your arrow on the chart. I think it is previous bar (nearest closed bar).
Reply With Quote