![]() |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
اقتباس:
موضوع رائع للاستاذ العبقري وضاح عطار جزاه الله و جزاك خيرا |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
طريقة الاربيتراج تكون احسن اذا اعتمدت الاسعار من المواقع و ليس من المنصات
|
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
اقتباس:
جزاك الله كل خير |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
اقتباس:
شكرا على مرورك الطيب هل من معلومات اكثر لو سمحت |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
مشكور اخى على الافادة
|
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
تقنية DDE تمكننا من إرساله المعلومات اللحظية لآخر شمعة ثم باستعمال دوال اكسل الخاصة و القوية في الحسابات تستطيع دراسة هذه المعطيات كما تشاء مع ترك المثاثريدر خفيفا يستعمل لوضع الاوامر دون بطئ. |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
[PHP]
#import "mt4excel.dll" bool ExcelOpen () ;/ / Opens Excel and creates a blank page bool ExcelClose () ;/ / Close Excel bool ExcelOpenPattern (int NumPatt) ;/ / Open the Excel Pattern bool ExcelOpenFile (string FileName) ;/ / Open the Excel file bool ExcelSave () ;/ / save the file bool ExcelSaveAs (string FileName) ;/ / save the file in the FileName bool ExcelAddSheet (string Name) ;/ / Add sheet and make it active bool ExcelSetFormulaCell (int X, int Y, string Value) ;/ / Write the formula in cell double ExcelGetValueCell (int X, int Y) ;/ / counts the number of cells string ExcelGetTextCell (int X, int Y) ;/ / Read the text from a cell string ExcelGetFormulaCell (int X, int Y) ;/ / Read the formula in cell bool ExcelSetDiagramma(int TypeD,string Title,string XRange,string YRange,int Left,int Top,int Riht,int Bottom);//adds diagrams bool ExcelDiagrammaAddRange () ;/ / Add data to a chart. The first line - the title bool ExcelSetValueCell (int X, int Y, double Value) ;/ / Write the number in a cell bool ExcelSetTextCell (int X, int Y, string Value) ;/ / save the text in a cell bool ExcelSetRange (string Range) ;/ / Remember range string ExcelGetFormat () ;/ / Returns the format range bool ExcelSetFormat (string Format) ;/ / Set the format for diapozana bool ExcelSetFormula (string Formula) ;/ / write the formula in a range bool ExcelIsFormula () ;/ / true if the formula is in the range int ExcelRangeCount () ;/ / Number of cells in a range string ExcelRangeAdress () ;/ / Address Range bool ExcelRangeColumnWidth (int Width) ;/ / Bandwidth bool ExcelRangeRowHeight (int Height) ;/ / height range bool ExcelRangeInteriorColor (int Color) ;/ / background color range bool ExcelRangeFontColor (int Color) ;/ / font color range int ExcelGetLastErrorCode () ;/ / last error Excel string ExcelGetLastErrorText () ;/ / The text of the last error Excel #import السلام عليكم كل الشكر للاستاذ وضاح عطار من منتدى الجيران على شرحه لهذا الموضوع المفيد لكن تبقى تقنية DDE محدودة . وهنا تاتي طريقة اخرى تتيح للمتاتريدر و اكسل التواصل في الجهتين بحيث يستطيع المتاتريدر وضع و اخذ المعلومات بكل حرية من اي خانة و استعمالها في المؤشرات او الاكسبيرتات... هذه الطريقة تعتمد على مكتبة mt4excel.dll mt4excel.dll هي مكتبة مكتوبة في دلفي. لاستدعاء DLL، تتم تهيئة المكتبة . قبل الاستخدام، يجب استدعاء واحدة من الوظائف التالية: ExcelOpen أو ExcelOpenPattern أو ExcelOpenFile.يتم إنشاء كائن OLE، و فتح MS Excel، يتم إنشاء ملف وصفحة جديدة من خلال نموذج أو يتم فتح ملف Excel موجود (اعتمادا على الدالة) إغلاق ExcelClose بواسطة MS Excel و تحرير الكائن OLE. يمكنك القراءة والكتابة في خلية منفصلة: ExcelSetFormulaCell، ExcelSetValueCell، ExcelSetTextCell، ExcelGetValueCell، ExcelGetTextCell، ExcelGetFormulaCell، أو في فئة محفوظة ببواسطة الدالة ExcelSetRange، ثم استخدام ExcelSetFormula، على سبيل المثال، أو غيرها من المهام . وهناك عدد من الوظائف المساعدة لإدارة عرض المعلومات، وما إلى ذلك يمكنك العثور على مزيد من التفاصيل عنها في تعليقات المثال. [PHP] [/PHP] في المثال الشامل ضع المكتبة في المتاتريدر و المؤشر في ملف المؤشرات لا تنسونا من دعواتكم الصالحة |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
1 مرفق
|
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
اقتباس:
معذرة في المرفقات يوجد إكسبيرت و مكتبة DLL |
رد: تاجر مباشرة على اكسل من خلال المتاتريدر
1 مرفق
اقتباس:
وهذا مثال آخر للأستاذ عطار وضاح هذه المرة مؤشر و هو مجرب |
الساعة الآن 08:49 PM |
Powered by vBulletin® Copyright ©2000 - 2025
جميع الحقوق محفوظة الى اف اكس ارابيا www.fx-arabia.com