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 Sat May 11, 2024 12:24 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Store a "Buy" or "Sell" Price
PostPosted: Mon Oct 28, 2013 2:45 am 
Offline

Joined: Thu Sep 19, 2013 2:31 am
Posts: 4
hi everybody,

I am new here and hope to find some help from the community. Following is the problem. I would like to calculate my "exit levels" based on the price with which I entered a trade. E.g. I buy the USDJPY for 98,000 and want to exit if the position turns against me - say buy price minus 2xATR. So if the ATR is 10 pips - the position should be closed when the price falls below 97,800 - so I would use the the close feature in Molanis to exit a deal when it turns against me.

Does somebody have an idea how I can "store" the price with which I enter a position?

I hope I could make myself clear and I am looking forward to getting some suggestions on how to solve the problem

best regards
alexander


Top
 Profile  
 
 Post subject: Re: Store a "Buy" or "Sell" Price
PostPosted: Sun Nov 03, 2013 6:29 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Some users created code that does that. Try searching the forum.
We are trying to include that feature in the next beta but development is delayed


Top
 Profile  
 
 Post subject: Re: Store a "Buy" or "Sell" Price
PostPosted: Tue Nov 19, 2013 11:03 pm 
Offline

Joined: Wed Jul 18, 2012 11:06 pm
Posts: 78
Could anyone point me to this thread please?


Top
 Profile  
 
 Post subject: Re: Store a "Buy" or "Sell" Price
PostPosted: Sun Nov 24, 2013 8:03 pm 
Offline

Joined: Wed Jul 18, 2012 11:06 pm
Posts: 78
Anyone?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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