Function HighSession not working?

Questions about MultiCharts and user contributed studies.
Pipscalper
Posts: 72
Joined: 28 Jul 2006

Function HighSession not working?

Postby Pipscalper » 08 Nov 2006

I want to create a range indicator based on Highesthigh and lowestlow, so not based on the trueRange.

Next code gives a result of zero in debug
R1=HighS(1)-LowS(1);

These functions HighS and LowS are available in the Editor, but are they not yet working or am I making a mistake?

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 08 Nov 2006

Dear Pipscalper -

Pasting the code you provided into PLEditor shows the HighS and LowS are not recognized as reserved words. Those functions are not available in the standard set, there are functions like High/LowD (M, W, Y) meaning the highest/lowest for the day, week, month, year - maybe they confused you?
Please tell what would you like those functions to do.

Pipscalper
Posts: 72
Joined: 28 Jul 2006

Postby Pipscalper » 08 Nov 2006

maybe I imported them whith another code .Ihave these in Pleditor.They are the same as HighD only not Day but session related.
cannot see if its original MC function or otherwise.

Purpose is to avoid the sundays on FX 24hr data , if sundays are calculated ,ranges and averages of the ranges are to much influenced by these lowrange sundays.

Pipscalper
Posts: 72
Joined: 28 Jul 2006

Postby Pipscalper » 08 Nov 2006

Meaning My purpose for the code.

The function HighS or LowS and so on ,are there to give the H.L.C andsoon
for the session. The function ofcourse is not special for Fx. i just tried to overcome a problem in a simple way.


Return to “MultiCharts”