الربط عن طريق برنامج Dynaorder
برنامج داينا اوردر متوفر منه نسخة تجريبة لمدة اسبوعين فقط ، حاول تنزل نسخة منه و تجربه ، اذا بتعرف فيجول بيسك كويس راح تمشى فيه بسرعة ، و لو عندك سؤل انا فى الخدمة ، يجب ان تنزل آخر نسخة من البرنامج و التى نزلت يوم 4-4 و ذلك لان fxcm غيرت برنامج السيرفر بتاعها و اصبح غير ممكن تشغيل اى نسخة سابقة من الداينا اوردر عليه
عموما انا وجدت طريقة لضرب حماية البرنامج و حاليا اعمل على نسخة مفتوحة و لكنى ساشتريها باذن الله
و اسمحلى لا تطلب منى شرح كيفية ضرب البرنامج
يمكن برمجة اى مؤشر من خلال لغة الفيجول فقط عن طريق كتابة كود معادلة المؤشر ، و هناك مكتبة تسمى TA SDK تحتوي على ذلك الكود جاهز و لا يوجد منها نسخة تجريبة و سعرها 250 دولار تقريبا ، و ما زلت ابحث عن طريقة للحصول على اى نسخة منها
داينا اورد يتيح لك مجموعة من الاوامر البسيطة و لكن هى ما تحتاج له فقط
مثل السؤال عن السعر الحالى لاى زوج
وضع امر شراء
وضع امر بيع
استفسار عن حالة اى صفقة مفتوحة
يمكن الرجوع لموقع الشركة على
dynaorder.com
و اعتقد انهم اضافو امر جديد خاص بتقاطع المؤشرات
عموما لو العديد من الاخوة -يجب ان يكونا مبرمجين- طلبوا شرح البرنامج ساقوم بوضوع شرح له
الاخ الكريم خالد الفهد
اشكر تكرمك و تفضلك بزيارة موضوعى المتواضع
الاخ هادي ، اشوفك على الماسنجر
و الآن اترك الاخوة مبرمجي الفيجول مع أوامر الداينا اوردر
Public Declare Function IsHostConnected Lib "fxdots5.dll" Alias "ISHOSTCONNECTED" () As Integer
Public Declare Sub WriteIntValue Lib "fxdots5.dll" Alias "WRITEINTVALUE" (ByVal sName As String, ByVal nValue As Long)
Public Declare Function ReadIntValue Lib "fxdots5.dll" Alias "READINTVALUE" (ByVal sName As String) As Long
Public Declare Sub WriteLongValue Lib "fxdots5.dll" Alias "WRITELONGVALUE" (ByVal sName As String, ByVal nValue As Long)
Public Declare Function ReadLongValue Lib "fxdots5.dll" Alias "READLONGVALUE" (ByVal sName As String) As Long
Public Declare Sub WriteFloatValue Lib "fxdots5.dll" Alias "WRITEFLOATVALUE" (ByVal sName As String, ByVal fValue As Single)
Public Declare Function ReadFloatValue Lib "fxdots5.dll" Alias "READFLOATVALUE" (ByVal sName As String) As Single
Public Declare Sub WriteStringValue Lib "fxdots5.dll" Alias "WRITESTRINGVALUE" (ByVal sName As String, ByVal sValue As String)
Public Declare Function ReadStringValue Lib "fxdots5.dll" Alias "READVBSTRINGVALUE" (ByVal sName As String) As String
Public Declare Function BuyMarket Lib "fxdots5.dll" Alias "BUYMARKET" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single) As Long
Public Declare Function SellMarket Lib "fxdots5.dll" Alias "SELLMARKET" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single) As Long
Public Declare Function BuyAtPrice Lib "fxdots5.dll" Alias "BUYATPRICE" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fPrice As Single) As Long
Public Declare Function SellAtPrice Lib "fxdots5.dll" Alias "SELLATPRICE" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fPrice As Single) As Long
Public Declare Function BuyAtPips Lib "fxdots5.dll" Alias "BUYATPIPS" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fPips As Single) As Long
Public Declare Function SellAtPips Lib "fxdots5.dll" Alias "SELLATPIPS" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fPips As Single) As Long
Public Declare Function BuyEntry Lib "fxdots5.dll" Alias "BUYENTRY" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fEntryPrice As Single, ByVal fStopPrice As Single, ByVal fLimitPrice As Single) As Long
Public Declare Function SellEntry Lib "fxdots5.dll" Alias "SELLENTRY" (ByVal sName As String, ByVal sAccount As String, ByVal fQuantity As Single, ByVal fEntryPrice As Single, ByVal fStopPrice As Single, ByVal fLimitPrice As Single) As Long
Public Declare Function GetOrderStatusN Lib "fxdots5.dll" Alias "GETORDERSTATUSN" (ByVal id As Long) As Integer
Public Declare Function GetOrderPrice Lib "fxdots5.dll" Alias "GETORDERPRICE" (ByVal id As Long) As Single
Public Declare Function GetOrderFilled Lib "fxdots5.dll" Alias "GETORDERFILLED" (ByVal id As Long) As Long
Public Declare Function GetOrderRemaining Lib "fxdots5.dll" Alias "GETORDERREMAINING" (ByVal id As Long) As Long
Public Declare Function GetTicket Lib "fxdots5.dll" Alias "VB_GETTICKET" (ByVal id As Long) As String
Public Declare Function GetOrderByTicket Lib "fxdots5.dll" Alias "GETORDERBYTICKET" (ByVal Ticket As String) As Long
Public Declare Function GetMarketPosition Lib "fxdots5.dll" Alias "GETMARKETPOSITION" (ByVal sAccount As String, ByVal sTradingName As String) As Long
Public Declare Sub ClosePositionFor Lib "fxdots5.dll" Alias "CLOSEPOSITIONFOR" (ByVal sAccount As String, ByVal sTradingName As String)
Public Declare Sub SoundAlert Lib "fxdots5.dll" Alias "SOUNDALERT" (ByVal sPath As String)
Public Declare Sub PopupAlert Lib "fxdots5.dll" Alias "POPUPALERT" (ByVal sText As String, ByVal sPath As String)
Public Declare Sub SetEmailDefaults Lib "fxdots5.dll" Alias "SETEMAILDEFAULTS" (ByVal sSMTP As String, ByVal sSENDER As String, ByVal sFROM As String, ByVal sREPLYTO As String)
Public Declare Sub SetEmailAdvDefaults Lib "fxdots5.dll" Alias "SETEMAILADVDEFAULTS" (ByVal sUsername As String, ByVal sPassword As String)
Public Declare Sub EmailAlert Lib "fxdots5.dll" Alias "EMAILALERT" (ByVal sTO As String, ByVal sSUBJECT As String, ByVal sText As String)
Public Declare Function GetAccountUpdateTime Lib "fxdots5.dll" Alias "GETACCOUNTUPDATETIME" () As Integer
Public Declare Function GetAccountItemByName Lib "fxdots5.dll" Alias "GETACCOUNTITEMBYNAME" (ByVal sAccount As String, ByVal skey As String) As Double
Public Declare Function GetAccountStringByName Lib "fxdots5.dll" Alias "VB_GETACCOUNTSTRINGBYNAME" (ByVal sAccount As String, ByVal skey As String) As String
Public Declare Function GetBroker Lib "fxdots5.dll" Alias "GETBROKER" () As Integer
Public Declare Function GetBrokerName Lib "fxdots5.dll" Alias "VB_GETBROKERNAME" () As String
Public Declare Function GetLastBid Lib "fxdots5.dll" Alias "GETLASTBID" (ByVal sTradingName As String) As Double
Public Declare Function GetLastAsk Lib "fxdots5.dll" Alias "GETLASTASK" (ByVal sTradingName As String) As Double
Public Declare Sub CancelOrder Lib "fxdots5.dll" Alias "CANCELORDER" (ByVal id As Long)
Public Declare Sub CancelAll Lib "fxdots5.dll" Alias "CANCELALL" ()
Public Declare Sub CancelAllFor Lib "fxdots5.dll" Alias "CANCELALLFOR" (ByVal sAccount As String, sTradingName As String)
Public Declare Sub CancelAllForAccount Lib "fxdots5.dll" Alias "CANCELALLFORACCOUNT" (ByVal sAccount As String)