Click here to Login








GetDataStringLast

by QuantShare, 704 days ago
Share |






This is a modified version of the "GetDataString" function which gets a string/text from a custom database field.
The modified version allows you to get the last (non empty) string on any given trading bar.

As an example, let us say that you have a database whose name is "db" and a field whose name is "fld".
In that database, there is a GOOG entry on 10/10/2017 which a value of "true".

If you want to plot that entry on a watchlist using:
AddColumn("Name", GetDataString("db", "fld", ""));

You will get an empty string since current date is say 12/11/2017 and there is no entry on that date in the custom database.

Using the modified version woud allow you to display the entry value since this is the last entry available before 12/11/2017.
AddColumn("Name", GetDataStringLast("db", "fld", ""));


Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information




Type: Trading Indicator

Object ID: 1758


Country:


Market:

Style:

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Estimation of the Hurst Exponent - Trading Indicator (by Brian Brown, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 161 Notes Report an item
Sum of a Custom Database's Field (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 16 Notes Report an item
Support & Resistance Breakout Indicator (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 62 Notes Report an item
Inertia Indicator (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 22 Notes Report an item
TSI - True Strength Index (by saratur, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 125 Notes Report an item
Regularized Exponential Moving Average (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 22 Notes Report an item
Kaufman's Efficiency Ratio (Fractal Efficiency) (by saratur, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 50 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Introduction to the Events Monitor Tool

How to Adjust the Time Displayed in your Intraday Charts

How to use QuantShare Indicators in the Grid Tool

Real-Time Quote Sheets with QuantShare

Correlation Between Multiple Trading Systems

How to Use the Percentage Scale

How to Import Metastock data into QuantShare

QuantShare Trading Software: New Features in the 3.4.3 Version

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright 2019 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.