Parabolic SAR and data(N) - EasyLanguage Programming | futures io social day trading
futures io futures trading


Parabolic SAR and data(N)
Updated: Views / Replies:2,071 / 2
Created: by ValutaTrader Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Parabolic SAR and data(N)

  #1 (permalink)
Elite Member
Oslo,Norway
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: EUR/USD
 
ValutaTrader's Avatar
 
Posts: 66 since Apr 2011
Thanks: 4 given, 50 received

Parabolic SAR and data(N)

I have multiple sub charts, and would like to reference the Parabolic SAR of sub chart 3 which is 60 min resolution; whilst my primary sub chart is running on 1 min resolution.

When I set this up in the GUI/chart, it looks fine, but my signal is calculating different Par SAR values than the GUI is displaying.

Value1 = ParabolicSAR(AfStep, AfLimit, sar0, sar1, sar2, sar3 ) data3;

The sar0 value is different to the one displayed as ParCL in the chart. I somehow think this is related to the fact that the ParabolicSAR function is called each minute since this is subchart1 settings whilst the input series is for data in the 60 minute subchart.

A number of other indicators handles this fine; so can it be that the variables sar0,sar1,etc are defined by reference in the ParabolicSAR function, and as such will behave differently when called multiple times than ones pr 60 minute?

Can I detect when the data3 timeframe is triggering so that I may update the ParabolicSAR only then?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Oslo,Norway
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: EUR/USD
 
ValutaTrader's Avatar
 
Posts: 66 since Apr 2011
Thanks: 4 given, 50 received


I think I found the solution myself. I created my own ParabolicSAR multi frame function that does not use referenced series but keep the series buffers locally and simply returns the ParCL as return value

function ParabolicSARMF

inputs:
AfStep( numericsimple ),
AfLimit( numericsimple ) ;

variables:
var0( 0 ),
var1( 0 ),
var2( 0 ),oParCl(0),oParOp(0),oPosition(0),oTransition(0) ;

// at the end of the function

ParabolicSARMF=oParCl


Calling this as

parcl=ParabolicSARMF(AFStep,AFLimit) data3

gives me the expected values in parcl. The buffers used within the function appears now to "live inside" the 60 minute time frame and is not filled every minute.

Reply With Quote

Reply



futures io > > > > > Parabolic SAR and data(N)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
parabolic curve/line dimkdimk Traders Hideout 6 March 14th, 2016 07:14 PM
Simple Parabolic AAlekperov Trading Journals 28 June 29th, 2015 10:39 PM
Possible to trail a stop per Parabolic SAR? christhesquid NinjaTrader Programming 12 August 30th, 2013 06:33 PM
parabolic sar carlos Platforms and Indicators 3 January 26th, 2013 04:43 AM
Parabolic Sar Reversals 1985 Traders Hideout 3 October 31st, 2011 04:18 PM


All times are GMT -4. The time now is 12:04 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-15 in 0.08 seconds with 19 queries on phoenix via your IP 54.226.34.209