Download MetaTrader 5

General - page 957

To post a new topic, please log in or register
Hi, It's a simple question, I want to write a expert based on a custom indicator. I use the iCustom() funcrion to call my indicator but differents buffers generate some prices values unusable to generate good signals. The only good indication comes from the indicator color itself. I looked at...
I want an indicator can create txt file contain common information of bars, such as open, close and so on. I don't really know to handle files. Can anyone give me an example?
After updating to build 195, the expert does not work anymore and I receive the following error message when recompiling in metaeditor. ---'lasttime' - expression on global scope not allowed---- Is there an easy fix to this error?...
How to keep the cross line cursor (even if you click on the chart) ? Thank you.
Below are two results: one obtained through live testing and the other through backtesting. They are from the same EA but I notice the following problems: 1) backtesting ticket numbers 1202, 1203, 1204, 1222, 1223 and 1224 are off by one hour compared to the live test results 8764720, 8764728,...
  90% of traders fail... (108   1 2 3 4 5 ... 10 11)
Good article on why 90% of traders fail... http://www.esignallearning.com/education/marketmaster/default.asp sorry if its' been posted before... -CS
hi forum i am develop system using ASCtrend, BrainTrend and WPR so the name first is "ABW v.1" i make little change at Braintrend so maybe Braintrend here is different and i wish anyone interesting make it into EA Time Frame 15 minute and meeting from indicators have strict goal like this: Signal...
I am using the C++ version of the MT3 api. I have 2 problems/questions: 1. Closing orders. I have 2 sockets in my application, one in pumping mode and the other I open and close as needed. When I close an order on the second socket, I get an UPDATE_TRADES message on the pumping socket. When I...
Dear Slawa, Will you think about making an option so that all chart windows can have a 1/2 height title bar? It would be nice to be able to use 1/2 height title bars in Win XP without changing the entire computer to smaller title bars. Having all charts with the title bar the size of the terminal...
Hi when i backtested using M1 timeframe, modeling quality was 25%. I thought M1 was most accurate in all timeframe. Why is it 25%? Is this backtest of 25% modeling quality not reliable?
I have seen some Strategy Tester reports with 100% modeling quality. How is that possible? With tick data/chart?
Hello all, I have attempted my first EA and amazingly enough it actualy works,sort of. The idea behind it is that when the price ,Hourly candle, closes below the 26 EMA it opens a short position and when the price closes above the 26 EMA it closes the short and opens a long position. The problem I...
Can someone please help me with an EA that I could place just before news releases that would straddle the market with the ability to specify how far above and below the market I want to straddle it, and with the ability to specify how big of a stoploss I want on the position. Is this possible?...
Can someone please help me with an EA that I could place just before news releases that would straddle the market with the ability to specify how far above and below the market I want to straddle it, and with the ability to specify how big of a stoploss I want on the position. Is this possible?...
Hi, combining several different indicators for this system looks very promising. I would be grateful for some help of modifying 3colorMACD, mq4 file and image attached. Requirements: 1. Red signal line needs to be broken into 2 colors, Red part -corresponding to red histogram, Blue line -where...
Hi All, Can anyone help me reading the profit of the last closed trade? Many thanks in advance and good trades! X55
I have a long test string that I want to display, but it cuts off at 64 in length, although the documentation says it can be up to 256. BTW, does anyone know the difference between OBJ_TEXT and OBJ_LABEL?
Hi, It would be great if MT4 expert advisers had a password feature to protect our expert advisors. This would allow our company to employ traders to execute our expert advsors but not let them copy or read our source MQL4 codes. MetaQuotes used to have this feature for DealSmart product (product...
Can someone tell me what I am doing wrong? This part of the code works in backtesting but does not work properly in live testing. TH total = OrdersTotal(); for(int i = 0 ; i<total ; i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); ticket = OrderTicket(); //----BreakEven Code if (OrderType()==OP_BUY...
Does an EA need to have the indicator placed on the graph to reference the data from the indicator?? If the indicator is only showing under navigator>custom indicators but not placed on the graph - is this enough?? This is a question that has come up because a guy says his EA runs without the...
I was recently told about a strategy that has a 90% success rate and I'd like to see if someone could code an EA for it. Here are the rules... 1) This only works on the GBP/USD & only on the 15 minute charts. 2) Take the High & Low of these 3 candles - 08:15, 08:30, 08:45 (EST-NY time) 3) Buy when...
I just recently was told about a strategy that has a 90% success rate and I'd like to see if someone could code an EA for it. Here are the rules... 1) This only works on the GBP/USD & only on the 15 minute charts. 2) Take the High & Low of these 3 candles - 08:15, 08:30, 08:45 (EST-NY time) 3)...
1-id like a trailing stop like that: profit: 100 trailing: 5 so only after profit is 100 it starts to trailing 5 to 5: if market back to 95 close trade 2-maximum spread if spreads is greater than x (3 for example) then don't trade PLEASE! PLEASE! PLEASE! PLEASE! PLEASE! PLEASE! PLEASE! PLEASE!...
Can any one tell me if I can use a expert advisor to run on demo accountut not back testing
Updated MetaTrader 4 Client Terminal build 195 has been published. In this version the visual mode for userfriendly tracing of expert advisor has been updated. It is the preliminary version before official build 196. What's new: 1. Comments (function Comment) are shown during tests. 2. Fixed the...
Here is what I want to do. Let's say I have a MA on H1 that for example change the bar colors if slope up or down (green up, red down). I have it working and all that but what I want is to put a dot on the price at the tick the price changes for the first time during a bar. I can put a dot on the MA...
Not looking for a regular trailing stop but one that will trail based on equity. I place several orders through out the day all generated from same EA with same MagicNumber. Looking for something like if equity reaches +$300, then equity trail stop of +$100 kicks in and trails forward, or equity...
Can anyone provide information for doing positional trading? And is there any free site that provides seasonality of currency pairs?
Anybody interested in creating his/her own MetaTrader extension (dll) may go to: Create your own MetaTrader extension (dll) - Part 1 Create your own MetaTrader extension (dll) - Part 2 There'll be another part (or 2) which I'm writing them! Hope you enjoy them!
Hey y'all. Been programming recently, and was frustrated at how limiting and silly array searches are in MT4. So, I wrote some new ones. One for searching a single dim array, and one for searching a 2 dimensional array. I think they're kinda neat - maybe you will too. Also, in the file are 2 array...
1...950951952953954955956957958959960961962963964...1087