Search found 208 matches
- Tue Jan 19, 2021 6:41 am
- Forum: EdgeRater Scripting
- Topic: How does one create a counter
- Replies: 1
- Views: 18006
Re: How does one create a counter
Hi, The Scripting language is an array language rather than a procedural language and so it does not have constructs such as X = X + 1 (well, actually you can write something like that but it has a different meaning, see below). You can create an array with incrementing numbers using: Count(C, 0); I...
- Tue Jan 19, 2021 6:32 am
- Forum: Forum
- Topic: New indicator won't run in custom template
- Replies: 4
- Views: 21716
Re: New indicator won't run in custom template
Sorry, I meant that in the Template you should reference the script by using "My.ATR2" instead of "ATR2". The script name in the script file should not have a "My." in it. The "My." is a namespace applied when the script is compiled and allows you to have iden...
- Mon Jan 18, 2021 11:31 am
- Forum: Forum
- Topic: New indicator won't run in custom template
- Replies: 4
- Views: 21716
Re: New indicator won't run in custom template
Scripts in MyScripts need to be prefixed with "My." and scripts in the System Scans need to be prefixed with "Scan."
So, in your case the correct name would be:
My.ATR2
So, in your case the correct name would be:
My.ATR2
- Sun Jan 17, 2021 11:37 pm
- Forum: EdgeRater Scripting
- Topic: How does one draw a line and square on a chart
- Replies: 2
- Views: 21205
Re: How does one draw a line and square on a chart
Hi Brian, A good resource to look at for examples of use of most functions is the actual code for all system indicators. You can find this code in the following location on your hard drive: {Documents}\EdgeRater\ChartScripts\SystemIndicators.xml In that file you can search for DRAWLINE and see that ...
- Sun Jan 17, 2021 2:21 am
- Forum: Forum
- Topic: Split Adjusted Data
- Replies: 3
- Views: 21930
Re: Split Adjusted Data
The EdgeRater data provider does adjust for splits normally but it appears our data source has not yet noted that particular split. I have notified them about the error and the fix will appear in one of the daily updates. The Get Latest Data button in the Premium Data Status menu section only handle...
- Sun Jan 17, 2021 2:08 am
- Forum: Forum
- Topic: Trend line Issue
- Replies: 1
- Views: 16235
Re: Trend line Issue
There appears to be a bug on the pop-up chart that prevents a trendline from being drawn. This will be fixed in the next update.
Currently chart drawings are not saved when you navigate away from a particular symbol.
Currently chart drawings are not saved when you navigate away from a particular symbol.
- Fri Jan 15, 2021 4:01 am
- Forum: EdgeRater Scripting
- Topic: How to make a script apply to the price screen
- Replies: 1
- Views: 17093
Re: How to make a script apply to the price screen
When you double-click on a script it creates a brand new chart area below the main chart and any other existing chart areas. Drag and drop a script to add it to an existing chart area such as the main chart area. chart_adding_scripts.png See the Security Chart quick start for more info: https://www....
- Fri Jan 15, 2021 3:19 am
- Forum: EdgeRater Scripting
- Topic: How to Create a Stock List from an indicator event
- Replies: 1
- Views: 16912
Re: How to Create a Stock List from an indicator event
Yes, that's one of the powerful features of EdgeRater and there are several ways to see current signals for an entire symbol list: The first method is to drop the scan script into the Entries and Exits tab and then hit the Run button. The report will populate with the symbols that had the event for ...
- Thu Jan 14, 2021 12:46 am
- Forum: EdgeRater Scripting
- Topic: Help with syntax
- Replies: 1
- Views: 16594
Re: Help with syntax
You could use: C1:C,colorGreen; Or if you are not particular about the color of the line: C; Or, if you are not particular about renaming CLOSE to C1: C,colorGreen; The upper line of the linear regression is the number of standard deviations (constant) * the standard deviation. So, that would be: Up...
- Thu Jan 14, 2021 12:45 am
- Forum: EdgeRater Scripting
- Topic: Help with syntax
- Replies: 1
- Views: 16594
Help with syntax
Received this question from an EdgeRater user: I need help with plotting a close on a chart to me it should be: C1: C,color.green; but this does not seem to work the other issue: I am trying to replicate this statement in thinkscript: def upperline = regression * stdDeviations (for a set length) I w...