| New signals service! | |
|
|||||||
| 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 |
|
|||
|
Code executing only at periodicity
The following code only seems to issue a trade at the periodicity
interval. BuyCond1 && BuyCond2 triggers a buy. Anyone know why? extern double RSIBuyLevel = 50; FMA1 = iMA(Symbol(),TimeFrame,FastMAPeriod,0,MODE_EMA,PRI CE_CLOSE,0); SMA1 = iMA(Symbol(),TimeFrame,SlowMAPeriod,0,MODE_SMA,PRI CE_CLOSE,0); RSI1 = iRSI(Symbol(),TimeFrame,RSIPeriod,PRICE_CLOSE,0); BuyCond1=FMA1 > SMA1; BuyCond2= RSI1 > RSIBuyLevel; |
|
|||
|
Array of values to a function (external)
Suppose I want to pass an array of values to an external function (say to use an external technical library). Is there an easy way to say "pass last 60 close bars to function A"? And what would the code look like on the dll to accept the array?
|
|
|||
|
Dear Experts Advisers! please advise on this:
Dear Experts Advisors!
Please, stupid simple question: How to change indicator's layers on the chart and in separate windows (bring it from bottom to the front) and sequence of indicators frames (bottom to the top)? Is it del &paste the only method, no easy hacks? ![]() Last edited by fxbs; 02-04-2007 at 10:50 AM. |
|
|||
|
Need a little help to add code to EA.
I was wondering if somone that knows how to code EA's add some code to an existing EA. The EA is the MACD Sample that comes with the metatrader platform. Presently, it does not have a stoploss or money management aspect so I can risk a percentage of my equity/balance. I would like to add these. I am no programmer and I have tried several times to add these but get errors I cannot fix. This is probably very simple for someone that knows MQL. Any help would be appreciated. Thanks in advance.
Kevin |
|
||||
|
Is there is a way to place two future order in MT4 one cancel the other ?
it would really be good ? 1- if it was buy sell order 2- if it was two buy orders or two sell order which ever executed first will cancel the other one. anyone have an idea bout it pls let me know.
__________________
“Risk comes from not knowing what you're doing” “Be fearful when others are greedy and greedy when others are fearful” Warren Buffett Last edited by MiniMe; 05-17-2007 at 06:37 AM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Cycles For New Traders | Dan7974 | General Discussion | 350 | 01-18-2008 06:04 PM |
| Learning to code for autotrading | GoatT | Metatrader Programming | 8 | 01-10-2007 08:55 PM |
| Self learning expert | mrtools | Expert Advisors - Metatrader 4 | 32 | 10-22-2006 05:29 PM |