Support Board
Date/Time: Tue, 14 Jan 2025 11:59:55 +0000
Post From: ACSIL Trading offsets
[2016-02-13 23:24:08] |
rhovega - Posts: 279 |
Looking into ACSIL documentation and examples. For any of the following (all taken from the provided tradingsystems.cpp): NewOrder.Target1Offset = 8*sc.TickSize; NewOrder.Stop1Offset = 8*sc.TickSize; NewOrder.TriggeredTrailStopTriggerPriceOffset=8*sc.TickSize; Would it work to replace "8*sc.TickSize" by "sc.ATR(sc.BaseDataIn[SC_LAST], sc.Subgraph[0], 20, MOVAVGTYPE_SIMPLE)" (or another Intermediate Study Calculation Function)? Documentation here https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#StopOffset would indicate that ACSIL can only use either ticks or actual price values as inputs for offsets, but not sure. Thank you |