Replies

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:

<PropertyGroup>
  <AlgoBuild>False</AlgoBuild>
</PropertyGroup>

Hope that helps someone else.


@YrpWayne

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