Search found 196 matches

by Chris White
Wed May 12, 2021 12:36 pm
Forum: Forum
Topic: Edgerater add-on for HGSI
Replies: 1
Views: 9353

Re: Edgerater add-on for HGSI

It's in the EdgeRater shared folder:

https://www.edgerater.com/sharedfolder

Then under Integrations->HGSI
by Chris White
Tue Feb 23, 2021 5:18 am
Forum: Forum
Topic: EDgerater data provider not updating
Replies: 4
Views: 15689

Re: EDgerater data provider not updating

Hi kf,

It looks like your traffic lights are not all green.

Try pressing the button next to those lights to fetch the latest master data.
by Chris White
Thu Feb 18, 2021 3:27 am
Forum: Forum
Topic: Error during Intraday update
Replies: 2
Views: 10628

Re: Error during Intraday update

EdgeRater has only one source of intraday data and that is the ThinkOrSwim desktop program which must be running on the same machine. Please make sure that your symbol list contains symbols that are all caps: eg: AAPL, MSFT etc Try creating a small list containing only 1 or 2 symbols and then try th...
by Chris White
Thu Feb 18, 2021 3:21 am
Forum: Forum
Topic: EDgerater data provider not updating
Replies: 4
Views: 15689

Re: EdgeRater data provider not updating

To diagnose your problem I would like to have a bit more information. Can you post screen shots of what you are seeing? Make sure to start with that you have all green traffic lights and if not press the button next to them to 'Get Latest Data': updatedata_trafficlights.png As a first diagnosis step...
by Chris White
Thu Feb 04, 2021 10:14 pm
Forum: EdgeRater Scripting
Topic: Seeding an element of an Array
Replies: 1
Views: 9336

Re: Seeding an element of an Array

Hi Brian,

The Formula languages don't have constructs to set individual elements of an array. The operations are carried out on the entire array.

If you post your end goal maybe someone in the forum could help with the script.

Chris.
by Chris White
Thu Feb 04, 2021 10:08 pm
Forum: EdgeRater Scripting
Topic: Could use some help with a coding issue
Replies: 2
Views: 11293

Re: Could use some help with a coding issue

Hi Brian,

You can use VALUEWHEN(CLOSE, Trigger) to get the value of Close when the trigger is true.
Here's the full script:

Code: Select all

trigger:= IF(CROSS(CLOSE, MA(CLOSE,30)),1,0);
B: VALUEWHEN(CLOSE,trigger),colorblue,width2,pointdot;
This produces the following plot:
BSeg_Line.png
BSeg_Line.png (32.81 KiB) Viewed 11251 times
by Chris White
Tue Jan 19, 2021 10:37 pm
Forum: Forum
Topic: Split Adjusted Data
Replies: 3
Views: 13186

Re: Split Adjusted Data

SPXS data has now been fixed.
SPXS_split_fixed.png
SPXS_split_fixed.png (52.77 KiB) Viewed 13155 times
by Chris White
Tue Jan 19, 2021 6:55 am
Forum: EdgeRater Scripting
Topic: How does one draw a line and square on a chart
Replies: 2
Views: 13187

Re: How does one draw a line and square on a chart

Here's another way to draw a horizontal line. This is a script that draws a horizontal line at the lowest low of the last N Bars: ll:= LLV(L, N); lastll:= ll.LASTVALUE; curbar:= COUNT(C, 0); countbars:= COUNT(C, 0).LASTVALUE; myval: IF(curbar > countbars - N, lastll, NAN); Parameter tab: N Double 25...
by Chris White
Tue Jan 19, 2021 6:41 am
Forum: EdgeRater Scripting
Topic: How does one create a counter
Replies: 1
Views: 10553

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...
by Chris White
Tue Jan 19, 2021 6:32 am
Forum: Forum
Topic: New indicator won't run in custom template
Replies: 4
Views: 12539

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...