|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
i have convert The Tradestation System ela file LE BEAU C. - ' Crossbow Swiss Franc 1.0 ' Trading System.doc help please my MQL EA code ![]() ![]() ![]() -- |
|
||||
|
marketposition == 1 --> Long
marketposition == 0 --> No trades marketposition == -1 --> Short MaxtradeClose == First Item of array MaxTradeClose == Value of that array for current bar So .. MaxTradeClose (in ELA) = MaxTradeClose[0] (in mq4). MinTradeLow, MaxTradeClose ... and those variables are array used for temporal calculation based on calculation. Quote:
|
|
||||
|
Quote:
MaxTradeClose[0] --> Value for current bar MaxTradeClose[1] --> Value of previous bar MaxTradeClose[2] --> Value of previous to previous bar .... MaxTradeClose[0] in ELA can be reduced to MaxTradeClose |
|
||||
|
Quote:
Quote:
MaxTradeClose[0] is the first item in the array MaxTradeClose. MaxTradeClose[1] is th second item. MaxTradeClose[2] is the third item. etc.. But in EasyLnaguage the Array starts with the index 1 so, MaxTradeClose[1] is the first item in the array MaxTradeClose. MaxTradeClose[2] is th second item. MaxTradeClose[3] is the third item. etc.. So, what's your question? |
|
||||
|
Quote:
MaxtradeClose=C; |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forex-Swiss Boker | hellkas | Metatrader brokers | 9 | 06-18-2007 10:03 AM |
| Swiss Ephemeris .dll | Akuma99 | Indicators - Metatrader 4 | 1 | 08-31-2006 06:36 AM |
| Strategic Tester Backtesting Issue | trohoang | Expert Advisors - Metatrader 4 | 0 | 08-10-2006 10:15 PM |