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


No Such Function Error...
Updated: Views / Replies:311 / 2
Created: by netarchitech 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, 5 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, 5 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, 5 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)

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
search function help floyd084 Tech Support 2 April 25th, 2014 03:57 AM
How to use if() function to check value returned from cross() function vampirelord AmiBroker 4 March 28th, 2014 12:23 PM
Help about TOS function alchemist74 ThinkOrSwim 2 December 31st, 2013 09:26 AM
DateTime2ELTime Function westsider EasyLanguage Programming 2 October 28th, 2012 04:36 PM


All times are GMT -4. The time now is 11:18 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-27 in 0.08 seconds with 19 queries on phoenix via your IP 54.80.39.89