Edit Your Comment
Function Ticket[n]
forex_trader_318221
तबसे मेंबर है Apr 07, 2016
32 पोस्टों
Jun 22, 2016 at 06:42
तबसे मेंबर है Apr 07, 2016
32 पोस्टों
Hi!
Exist a function analogous to Close[n] that returns the last ticket number of the opened position in function of n?
Like this:
Ticket[0] = 12340000 (buy)
Ticket[1] = 12340001 (buy)
Ticket[2] = 12340002 (sell)
Ticket[3] = 12340003 (buy)
Ticket[4] = 12340004 (sell)
Ticket[5] = 12340005 (sell)
Ticket[6] = 12340006 (buy)
Ticket[7] = 12340007 (sell)
Ticket[8] = 12340008 (buy)
And also for buy and sell, like this:
TicketBuy[0] = 12340000
TicketBuy[1] = 12340001
TicketBuy[2] = 12340003
TicketBuy[3] = 12340006
TicketBuy[4] = 12340008
TicketSell[0] = 12340002
TicketSell[1] = 12340004
TicketSell[2] = 12340005
TicketSell[3] = 12340007
Exist a function analogous to Close[n] that returns the last ticket number of the opened position in function of n?
Like this:
Ticket[0] = 12340000 (buy)
Ticket[1] = 12340001 (buy)
Ticket[2] = 12340002 (sell)
Ticket[3] = 12340003 (buy)
Ticket[4] = 12340004 (sell)
Ticket[5] = 12340005 (sell)
Ticket[6] = 12340006 (buy)
Ticket[7] = 12340007 (sell)
Ticket[8] = 12340008 (buy)
And also for buy and sell, like this:
TicketBuy[0] = 12340000
TicketBuy[1] = 12340001
TicketBuy[2] = 12340003
TicketBuy[3] = 12340006
TicketBuy[4] = 12340008
TicketSell[0] = 12340002
TicketSell[1] = 12340004
TicketSell[2] = 12340005
TicketSell[3] = 12340007
forex_trader_318221
तबसे मेंबर है Apr 07, 2016
32 पोस्टों
Jun 22, 2016 at 06:43
तबसे मेंबर है Apr 07, 2016
32 पोस्टों
I'd like to reformule my question, but I can't edit... So, I'll ask again, so...
ALL Positions:
Order = N[n] = M[m]
142370816 = N[0] = M[13]
142370788 = N[1] = M[12]
142370758 = N[2] = M[11]
:
:
:
142370606 = N[11] = M[2]
142370565 = N[12] = M[1]
142370543 = N[13] = M[0]
BUY Positions:
Order = X[x] = Y[y]
142370816 = X[0] = Y[7]
142370788 = X[1] = Y[6]
142370701 = X[2] = Y[5]
:
:
:
142370606 = X[5] = Y[2]
142370565 = X[6] = Y[1]
142370543 = X[7] = Y[0]
SELL Positions:
Order = V[v] = W[w]
142370758 = X[0] = Y[5]
142370743 = X[1] = Y[4]
142370711 = X[2] = Y[3]
:
:
:
142370606 = X[3] = Y[2]
142370645 = X[4] = Y[1]
142370631 = X[5] = Y[0]
What I’m looking for are these 6 functions:
TicketNumber = N[n]
TicketNumber = M[m]
TicketNumber = X[x]
TicketNumber = Y[y]
TicketNumber = V[v]
TicketNumber = W[w]
Do you understand??
ALL Positions:
Order = N[n] = M[m]
142370816 = N[0] = M[13]
142370788 = N[1] = M[12]
142370758 = N[2] = M[11]
:
:
:
142370606 = N[11] = M[2]
142370565 = N[12] = M[1]
142370543 = N[13] = M[0]
BUY Positions:
Order = X[x] = Y[y]
142370816 = X[0] = Y[7]
142370788 = X[1] = Y[6]
142370701 = X[2] = Y[5]
:
:
:
142370606 = X[5] = Y[2]
142370565 = X[6] = Y[1]
142370543 = X[7] = Y[0]
SELL Positions:
Order = V[v] = W[w]
142370758 = X[0] = Y[5]
142370743 = X[1] = Y[4]
142370711 = X[2] = Y[3]
:
:
:
142370606 = X[3] = Y[2]
142370645 = X[4] = Y[1]
142370631 = X[5] = Y[0]
What I’m looking for are these 6 functions:
TicketNumber = N[n]
TicketNumber = M[m]
TicketNumber = X[x]
TicketNumber = Y[y]
TicketNumber = V[v]
TicketNumber = W[w]
Do you understand??
*व्यवसायिक इस्तेमाल और स्पैम को ब्रदाश नहीं किया जाएगा, और इसका परिणाम खाता को बन्द करना भी हो सकता है.
टिप: किसी चित्र या यूट्यूब या URL को पोस्ट करने से वे अपने आप आपके पोस्ट में आजाएगा!
टिप: @ चिन्ह को टाइप करें उपभोगता के नाम को अपने आप करने के लिए जो इस चर्चा में भाग ले रहा है.