Support Board
Date/Time: Sun, 22 Dec 2024 18:41:13 +0000
adding adx to ASCIL code ?
View Count: 830
[2015-05-11 13:31:33] |
User120827 - Posts: 77 |
hi how can I add smething akin to " adx>20 " to this code as a filter ? thanks / code
if (InputDateTime1 > StartDateTime && InputDateTime1 < EndDateTime) if (sc.CrossOver(line1, line2) == CROSS_FROM_BOTTOM) { // mark the crossover on the chart BuyEntry[sc.Index] = 1; // Create a market order and enter long. s_SCNewOrder order; order.OrderQuantity = 1; order.OrderType = SCT_ORDERTYPE_MARKET; sc.BuyEntry(order); } |
To post a message in this thread, you need to log in with your Sierra Chart account: