Support Board
Date/Time: Sun, 24 Nov 2024 14:54:40 +0000
Bug in TradeOrder.Price1 (TTFIX)
View Count: 1861
[2013-11-16 14:07:35] |
User40073 - Posts: 23 |
Hello, When I get TradeOrder.Price1 from my Study with TTFIX put back 100 times greater than the actual price. example : Real price is: 1792.50 then TradeOrder.Price1 = 179250.0 Please fix it. thanks! |
[2013-11-16 19:47:52] |
Sierra Chart Engineering - Posts: 104368 |
This is the price in its original form as it is provided by the FIX adapter and required to be sent to the trading service. In the next release coming out today or tomorrow, the price will be adjusted to the format in the chart itself. Surprised nobody pointed this out previously. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2013-11-18 08:38:47] |
User40073 - Posts: 23 |
I tested new 1047 version. Price1 now 100x higher, I think should be divide by 100 the original price1. now if i get price1 is 17910000.4000, but real price is 1791.00. Please fix it. Other big problem with ZigZag, If I want to get prices from array, sierra chart freeze. SCSubgraphRef ZigZagLine = sc.Subgraph[1];
sc.ZigZag2(sc.BaseData[SC_HIGH], sc.BaseData[SC_LOW], ZigZagLine, sc.Index, 5, 2.5); int n=0,i=0; double p0=0,p1=0, p2=0; i=sc.Index;n=0; while(n<3) { if(p0>0) {p2=p1;p1=p0;} p0=ZigZagLine[i]; if(p0>0) {n+=1; } i--; } I tryed "for" loop etc... If I put zigzag array to loop, then sierra freeze. |
[2013-11-18 08:58:37] |
Sierra Chart Engineering - Posts: 104368 |
We will release a new version now to solve the problem with the order prices. The ACS order structure prices were not adjusted properly. There was a mistake with how that was analyzed. In regards to Sierra Chart freezing, that is not correct. Your own code is freezing. We had a quick look at it and can see a scenario where that would occur. It is your responsibility to debug your own code. Not ours. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2013-11-18 08:59:03
|
[2013-11-18 09:32:31] |
Sierra Chart Engineering - Posts: 104368 |
The decimal point position issue in the order prices in the ACS Trade Order structure has now been resolved. Update Sierra Chart with Help >> Download Prerelease. Let us know if it's OK now.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2013-11-18 13:11:17] |
User40073 - Posts: 23 |
thank you for the fast work. Yep, I modified ZigZag function, and now working. I forgot SC always recalculate everything every ticks.:) |
To post a message in this thread, you need to log in with your Sierra Chart account: