No Such Function Error... - ThinkOrSwim | futures.io
futures.io futures trading


No Such Function Error...
Started: by netarchitech Views / Replies:209 / 2
Last Reply: 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
 

No Such Function Error...

  #1 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received

No Such Function Error...

Given the following:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


I'm left wondering why "No such function" and why has the compiler flagged only certain instances?

Any thoughts?

Thanks in advance...

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received

OK...I figured out the error..."noob" that I am, I was confusing a variable with a function...as a result I've gone back and totally rewritten the code to properly address the situation... As a result of the rewrite, I now face another issue, namely brackets cannot be used with a function to reference a prior period...

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


So while I'm still wondering why the compiler flagged only certain instances of the "no such function" error, now, in addition, I'm hoping there is a way around the invalid statement - prior period brackets issue... Any thoughts?

Thanks in advance...

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received


For those whom might be interested, here's the solution to the bracket issue:
 
Code
high(period="day")[1];  #(array reference after the function)

Thanks to Derek for his assistance...

Reply With Quote

Reply



futures.io > > > > No Such Function Error...

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

An Afternoon with FIO member Massive l

Elite only
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
search function help floyd084 Tech Support 2 April 25th, 2014 04:57 AM
How to use if() function to check value returned from cross() function vampirelord AmiBroker 4 March 28th, 2014 01:23 PM
Help about TOS function alchemist74 ThinkOrSwim 2 December 31st, 2013 10:26 AM
DateTime2ELTime Function westsider EasyLanguage Programming 2 October 28th, 2012 05:36 PM


All times are GMT -4. The time now is 06:32 PM.

no new posts
Page generated 2017-01-18 in 0.07 seconds with 19 queries on phoenix via your IP 54.205.173.230