Search found 197 matches

by Chris White
Fri Aug 12, 2016 12:05 pm
Forum: Forum
Topic: Backtesting Using External Data Fields
Replies: 4
Views: 16153

Re: Backtesting Using External Data Fields

It looks like there were a couple of problems with the posted script (I will try to fix them in the blog post too so that noone else runs into this). Here's a working version: myVal:= WB_SYMBOLLOOKUP('C:\\myData\\Top50GIR.xlsx', 'Values'); cond1:= myVal == 1; cond2:= COUNT(cond1, 80) >= 20; event: c...
by Chris White
Tue Aug 02, 2016 12:34 pm
Forum: EdgeRater Scripting
Topic: Using Weekly and Monthly Time Frames in Script
Replies: 1
Views: 9450

Using Weekly and Monthly Time Frames in Script

A script will be run automatically in weekly mode if it is placed onto a weekly chart and monthly if placed on a monthly chart, but what if you want to have the script always run in Weekly or Monthly mode regardless of the chart it is placed on? The way to do that is to have the 'Period Independent'...
by Chris White
Tue Aug 02, 2016 12:14 pm
Forum: Forum
Topic: How do I run Entries and Exits on a Weekly Time frame?
Replies: 1
Views: 9404

Re: How do I run Entries and Exits on a Weekly Time frame?

To generate a script which uses weekly or monthly data instead of data you can use the technique discussed here:
http://www.edgerater.com/edgetalk/viewt ... Weekly#p41
by Chris White
Fri Jul 22, 2016 7:55 am
Forum: Forum
Topic: Using a second symbol on a current chart
Replies: 6
Views: 18433

Re: Using a second symbol on a current chart

I haven't been able to reproduce the error you mentioned. If you can reproduce, please post the exact steps.

BTW, the symbol for $SPX on Yahoo is ^GSPC
by Chris White
Tue Jul 19, 2016 8:39 am
Forum: Forum
Topic: Chart script functions?
Replies: 1
Views: 9880

Re: Chart script functions?

The symbol for OR is | Take a look at the system scan named 'IanPctB Sell' to see an example B:= FML('IanPctB()[B]'); BW:= FML('IanPctB()[BW]'); FI:= FML('ForceIndex(13)[FI]'); Cond1:= (B - Ref(B, 1)) <= -.12; Cond2:= B <= 1.2; Cond3:= FI <= 0; Cond4:= C < O; Cond5:= C < SMA(C,9); Cond6:= Count(Cros...
by Chris White
Thu Jul 14, 2016 10:09 am
Forum: Forum
Topic: Portfolio Manager
Replies: 4
Views: 15389

Re: Portfolio Manager

Hi Ed,

Do you have an example of a timing list that you want to use in Excel format? I would be interested to see it and test a new feature of loading such a list into the Entries and Exits tab.

Thanks,
Chris.
by Chris White
Sat Jul 09, 2016 11:04 am
Forum: Forum
Topic: Portfolio Manager
Replies: 4
Views: 15389

Re: Portfolio Manager

Hi John,

That's not currently possible because at the moment the entries and exits are generated via scripts. However I have been looking at the possibility of opening pre-saved Symbol/Date files into the Entries and Exits tab. This will give you what you are looking for. It's on my radar.

Chris.
by Chris White
Tue Jun 28, 2016 6:25 pm
Forum: Forum
Topic: Using a second symbol on a current chart
Replies: 6
Views: 18433

Re: Using a second symbol on a current chart

One possible reason is that you don't have the second symbol in your current symbol list. Could that be the case?
by Chris White
Tue Jun 28, 2016 9:22 am
Forum: Forum
Topic: Using a second symbol on a current chart
Replies: 6
Views: 18433

Re: Using a second symbol on a current chart

The code compiles as you said but it does output the System line (which has values between 0 and 1). Try adding it to a new lower chart area to see that.

If you want other lines to output you need to replace the := with =

Chris.
by Chris White
Thu Jun 09, 2016 7:46 am
Forum: Forum
Topic: Colors and FillRgn
Replies: 2
Views: 12745

Re: Colors and FillRgn

The color code is in ARGB format (Alpha, Red, Green, Blue). The pattern is: #AARRGGBB So, in your example, #20808000 would break down like so: 20: Alpha (range 00-FF hex) Higher numbers are less transparent 80: Red (range 00-FF hex) 80: Green (range 00-FF hex) 00: Blue (range 00-FF hex) The followin...