Search found 32 matches

by bsegura
Sat Jan 30, 2021 7:16 am
Forum: EdgeRater Scripting
Topic: Linda Raschke's Three Bar Triangle breakout formation
Replies: 2
Views: 12344

Re: Linda Raschke's Three Bar Triangle breakout formation

Thanks - I did not consider that.
by bsegura
Mon Jan 25, 2021 5:49 pm
Forum: EdgeRater Scripting
Topic: Seeding an element of an Array
Replies: 1
Views: 9336

Seeding an element of an Array

Hello:

Is there any way in your version of formula script to "Seed an element of an Array"

For example... assign barcount 0 (the first element of the array) the number 0

This could be a way of preassigning a particular variable in an array to 0

Thanks,
Brian
by bsegura
Thu Jan 21, 2021 5:03 pm
Forum: EdgeRater Scripting
Topic: Prev function
Replies: 2
Views: 10783

Prev function

Hello:

Is there a way to make this work in your version of Formula Script using a Metastock PREV function:

haOpen := (ref((O+H+L+C)/4,-1)+ PREV(haOpen,1))/2;

Thanks
by bsegura
Mon Jan 18, 2021 9:25 pm
Forum: Forum
Topic: Mean-Reversion from May TASC
Replies: 1
Views: 17636

Re: Mean-Reversion from May TASC

Hey... Try applying a 55 period Hull Moving Average also looking with Heikin Ashi candle option your code with modification: sma:= MA(c,LN1); lma:= MA(c,LN2); dev:= std(c,LN1); z: (C - sma)/dev,Width2,ColorBlack; FillRgn(Z<= -1,Z,-1),Brush#5000FF00; FillRgn(Z>=1,Z,1),Brush#50FF0000; HullMA(z,55),col...
by bsegura
Mon Jan 18, 2021 5:44 am
Forum: EdgeRater Scripting
Topic: How does one create a counter
Replies: 1
Views: 10553

How does one create a counter

Hello:

I am having trouble trying to make a simple counter.

x = x[1] + 1;

in formula script I am using:
x : ref(x,1) + 1

I get an error 0165 Use of unassigned local variable 'X'

Does anyone have the correct method of getting a variable to increment per each loop
by bsegura
Sun Jan 17, 2021 12:01 pm
Forum: EdgeRater Scripting
Topic: Linda Raschke's Three Bar Triangle breakout formation
Replies: 2
Views: 12344

Linda Raschke's Three Bar Triangle breakout formation

Here is Linda Raschke's three bar Triangle Breakout formation This represents a coiling occurring in the lower timeframe. She states: "High below two day high and Low above two day low" cond := if((ref(high,2)>ref(high,1)) & (ref(high,1)>high) & (ref(low,2)<ref(low,1)) & (ref(l...
by bsegura
Sat Jan 16, 2021 10:19 am
Forum: EdgeRater Scripting
Topic: How does one draw a line and square on a chart
Replies: 2
Views: 13186

How does one draw a line and square on a chart

Hello: I would like to know the syntax for drawing a line and a square on a chart. I tried a DRAWLINE command but it didn't seem to work. I was able to draw a square - but I don't fully understand all parameters for that function. Could someone please let me know the Syntax and parameter list for th...
by bsegura
Sat Jan 16, 2021 10:05 am
Forum: Forum
Topic: Trend line Issue
Replies: 1
Views: 8953

Trend line Issue

Hello: I noticed that when the chart is opened from the Entries and Exits screen, creating trendlines don't work. When the chart is opened from the Reports Viewer screen, creating trendlines work fine. One question on this issue... If I put trendlines on a chart for a particular stock, can the chart...
by bsegura
Thu Jan 14, 2021 5:46 pm
Forum: EdgeRater Scripting
Topic: How to make a script apply to the price screen
Replies: 1
Views: 9989

How to make a script apply to the price screen

Hello:

Currently when I click on my script - it opens up in a new window under then Main Price Screen.

How do I code the script so that it automatically applies to the top screen :

Thanks
Brian
by bsegura
Thu Jan 14, 2021 3:15 pm
Forum: EdgeRater Scripting
Topic: How to Create a Stock List from an indicator event
Replies: 1
Views: 9795

How to Create a Stock List from an indicator event

Is there to scan a stock list - checking for an indicator event and identifying those stocks that currently meet that event ?