Close > Close the day before - AmiBroker | futures io social trading
futures io futures trading


Close > Close the day before
Updated: Views / Replies:183 / 2
Created: by alexb1995 Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Close > Close the day before

  #1 (permalink)
Trading Apprentice
Ludwigshafen am Rhein
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Emini ES
 
Posts: 4 since Jan 2017
Thanks: 0 given, 0 received

Close > Close the day before

Hello,

I'am searching for a way to compare close values of different days. The problem is, that I want to compare multiple days in a given time period, not only the last days.

Ref(Close, -5) > Ref(Close, -4) compares the values starting from today minus 5/4 days. What I want, is to compare any days in the given time period. (buy = Close of any day > Close the day before this day.)

Can anybody help me?

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
Agra+India
 
Futures Experience: Beginner
Platform: MultiCharts, AmiBroker
Favorite Futures: Stock Futures
 
Posts: 39 since Sep 2016
Thanks: 13 given, 3 received


alexb1995 View Post
Hello,

I'am searching for a way to compare close values of different days. The problem is, that I want to compare multiple days in a given time period, not only the last days.

Ref(Close, -5) > Ref(Close, -4) compares the values starting from today minus 5/4 days. What I want, is to compare any days in the given time period. (buy = Close of any day > Close the day before this day.)

Can anybody help me?



though it is not clear from your post. i think you can try this:

Close > Ref(Close, -1)

this should work.

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Melbourne, Australia
 
Futures Experience: Advanced
Platform: Ninja
 
Posts: 6 since Jun 2010
Thanks: 0 given, 1 received


Ref(Close, -5) > Ref(Close, -4) would result in an array in Amibroker whose values represent bar 6 days ago is greater than the bar 5 days ago.

Reply With Quote

Reply



futures io > > > > Close > Close the day before

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

An overview of volumetric analytical tools w/Sergey Sokolov @ PTMC

Elite only

John Hoagland (TBA)

Elite only

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only

Pete @ Jigsaw Trading (TBA)

Elite only

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve previous day's close and current day's open on intraday chart mandelmus EasyLanguage Programming 1 February 26th, 2015 03:53 PM
Close position end of day and reopen next day mnovaki NinjaTrader Programming 1 September 12th, 2014 08:38 AM
No results in NT indicator if "close[>1]" close larger than [1] hallou1 NinjaTrader 3 February 3rd, 2014 12:02 PM
Ninja Close Position / Close Button / ChartTrader vantojo NinjaTrader Programming 1 October 15th, 2012 05:51 PM
Calculate GAP (Close of Prior Day, Open of Current Day) bluemele NinjaTrader Programming 16 January 19th, 2011 09:19 PM


All times are GMT -4. The time now is 05:20 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-05-26 in 0.08 seconds with 19 queries on phoenix via your IP 54.224.184.185