molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun May 19, 2024 9:58 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Variable "OrderOpenPrice()" in the Indicator Builder
PostPosted: Sat May 05, 2012 4:34 pm 
Offline

Joined: Sat May 05, 2012 4:08 pm
Posts: 1
Hi,
How can I use the variable "OrderOpenPrice()" in the Indicator Builder? I think the syntax is OK, but the value is always zero.
Thanks!


Top
 Profile  
 
 Post subject: Re: Variable "OrderOpenPrice()" in the Indicator Builder
PostPosted: Mon May 07, 2012 8:58 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
You should not use it. Indicators use historical prices based on the bar high - low - open and close. You cannot get a reliable open price in an indicator for metatrader. You cannot backtest it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by Molanis © 2009