About intraday highs

Questions about MultiCharts and user contributed studies.
LW1104
Posts: 14
Joined: 02 Feb 2023

About intraday highs

Postby LW1104 » 15 Mar 2023

I would like to be alerted each time an intraday high is renewed (not including after the second bar renewal in a row), how is this possible?


Code: Select all

variables: var0( 0 ) ; if BarType <= 1 or BarType >= 5 then begin if Date <> Date[1] then var0 = High else if High > var0 then begin Plot1( High, "NewHi-D" ) ; Alert ; var0 = High ; end ; end ;
Attachments
2023-03-16 intraday high.png
(103.33 KiB) Not downloaded yet

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: About intraday highs

Postby TJ » 16 Mar 2023


LW1104
Posts: 14
Joined: 02 Feb 2023

Re: About intraday highs

Postby LW1104 » 16 Mar 2023

Thank you for your reply.

I referred to the view topic, am I correct in understanding that this is possible by using New high instead of high?


Return to “MultiCharts”