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 Mon Apr 29, 2024 7:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Parabolic SAR
PostPosted: Tue Aug 19, 2014 9:58 pm 
Offline

Joined: Mon Aug 11, 2014 9:09 pm
Posts: 6
Hi, let's say I want to "buy" when the PSAR is under the price and I want to "close buy" when there are 3 dots over price. Can this be done?


Top
 Profile  
 
 Post subject: Re: Parabolic SAR
PostPosted: Wed Aug 20, 2014 3:55 am 
Offline

Joined: Mon Aug 11, 2014 9:09 pm
Posts: 6
I figured it out. This is how I did it:
(psar(shift 3)>iclose(shift 3))&&(psar(shift 2)>iclose(shift 2))&&(psar(shift 1)>iclose(shift 1))


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:  
cron
Powered by Molanis © 2009