YR
Topics
29 Sep 2022, 11:20
621
1
31 Mar 2022, 16:08
1123
4
08 Jun 2020, 19:03
1879
3
02 Jun 2020, 16:31
1955
4
12 Mar 2019, 11:44
6
1042
1
Replies
YrpWayne
11 Jun 2020, 14:45
Thanks PanagiotisCharalampous,
Ended up been a typo in a referenced project which the debugger wasn't picking up causing my main issue. That said Bars.Tick() worked for triggering on tick, Thanks.
It's probably worth mentioning that the Tick event returns the Bars object instead of the Tick event. If you want to access the Bid and Ask values you have to use the properties on the indicator.
I'll probably give the MarketData.GetTIcks() Tick event another go as it returns the Bid and Ask which is useful if you're referencing different symbols than what the indicator references.
@YrpWayne
YrpWayne
31 Mar 2022, 16:13
Never mind, figured out there's a property that can be set which bypasses the build.
Add the below snippet to your library .csproj file:
Hope that helps someone else.
@YrpWayne