I am building the custom indicator and will use it in the market analyzer for stock screening. I'll want this indicator to come up with 1 or 0 based on the predefined conditions.
- What would be a rough syntax/method for that? (how to say "if x>y, then return 1 in the market analyzer, if not then return 0 ")
Are there any changes to be made to these lines or settings below them:
- protected override void OnBarUpdate()
- protected override void Initialize()
Thank you
ionaz
Comment