MarketScript > Composition |
Free form composition of symbol references, constants, functions and operators
fill(
magg(
fill(
from("#NYHETN" * 0.01, midpoint),
7, fwd
),
type:last, reportday:1, reportoffset:1
),
7, fwdend
)
fill (
lag (
wagg (
from("#NYHETN", midpoint) / 100 - 0.0075
, startday:mon, endday:fri, reportday:mon
),
1 calendar
),
7, fwdend
)