Support Board
Date/Time: Thu, 23 Jan 2025 18:56:48 +0000
Post From: ZN,ZB,ZF, a problem to have the right price.
[2018-12-02 14:58:39] |
User210074 - Posts: 63 |
Hello, I try to find the right price for the ZB /*...*/ if(TS[i].Type==SC_TS_BID||TS[i].Type==SC_TS_ASK){ int PT=(int)TS[i].Price; /* Price -> 13956250 */ string Test = to_string(PT)+" : "+to_string(DD)+" : "+to_string(FC)+" : "+to_string(IM)+" : "+to_string((float)PT*DD)+" = "+to_string(sc.Close[sc.Index]); sc.AddMessageToLog(Test.c_str(),1); } How do you get the same price value as the right price ? |
Private File |