- Search Energy EXCH
- m.m.m. replied Mar 7, 2013
Limit orders can be decorated with SL/TP right away. Market orders have to be 'fixed' afterwards. E.g. via EA, like so (no error handling performed : D): //SLTP.mq5 by astro// input double SL = 10.0; //pips; put 0 if no SL input double TP = 0.0; ...
Alpari uk (mt5 ecn demo) - new order SL & TP
- m.m.m. replied Mar 7, 2013
You simply close out a portion of your position. Sounds simple enough. Consult your expert google.
How to scale in and out of trades with MT4?
- m.m.m. replied Mar 3, 2013
Well, from a programmer's perspective MT5 is what MT4 should have been from the start. Though it is still not the most flexible bitch out there.
All about MT5 Program
- m.m.m. replied Mar 3, 2013
Let me try: It's always the same game. It's never the same game. It's an easy walk into the maze. There's no easy way out of the maze. Enter the maze..
After entering this world of Forex are you able to get out of it?
- m.m.m. replied Mar 3, 2013
To simplify your problem you could just make one trade four times the size, and knock off 1/4 of it each time at different levels (with adjusting SL accordingly)..
I will code your EAs and Indicators for no charge
- m.m.m. replied Mar 2, 2013
LMAX are quite retarded in their ways they do things (oh well, brokers!). Always wonder how such people run such businesses.. However, their exchange model is top of the industry. Now, when it comes to paper, it is always good to have things on ...
LMAX = revolution?!?
- m.m.m. replied Mar 1, 2013
I have rewritten the code (quite) a bit.. and I think it works as it should. It also paints for the current bar, what I think is a good thing. #property indicator_separate_window #property indicator_level1 0 #property indicator_buffers 1 #property ...
Advice needed with some MT4 code
- m.m.m. replied Mar 1, 2013
Looks like it still repaints last few bars. Because if it is recompiled later on it paints differently (the last few bars).
Advice needed with some MT4 code
- m.m.m. replied Feb 28, 2013
No big thing to calculate the pivot point(s). However, this code does not paint anything, but I assume that's not necessary. It only sets global vars that can be accessed from other code: #property indicator_chart_window double high, low; int day, ...
What is the code for indicator refresh?
- m.m.m. replied Feb 26, 2013
It is not programmable, therefore of what use is it? As things stand right now the by far best platform out there is MT5, except that it cannot do hedge-mode. It's not perfect but best so far.
Has anyone used Traders Hideout platform?
- m.m.m. replied Feb 25, 2013
Of course, the slippage setting is respected with market orders. Therefore they get executed or rejected if slippage has increased beyond setting.
Dukascopy
- m.m.m. replied Feb 25, 2013
This is silly because JForex is a lot better platform than MT4. Simple example: MT4 would need ages to close several orders because it operates only on one order at a time, and you cannot close one order as long the previous order is not closed. ...
Dukascopy
- m.m.m. replied Feb 21, 2013
This should be it. Note: Result will appear as comment in upper-left corner. All times are 24h format, GMT. Compile as indicator. #property indicator_chart_window extern int days = 5; // days extern int from = 17; // hour to start from; 24h format, ...
Help with ADR Indicator with specified hours
- m.m.m. replied Feb 21, 2013
In fact it will fail in certain circumstances. Sorry for that, in strive for the shortest code I forgot the special situation(s) when: (1) the calculation is started within the period of interest. (2) the period is shortened, i.e. on friday. But I ...
Help with ADR Indicator with specified hours
- m.m.m. replied Feb 20, 2013
Well ok, last thing: #property indicator_chart_window extern int ma_period = 10; extern int font_size = 10; extern int corner = 0; extern int x = 10; extern int y = 10; extern color text_color = White; string name = "MA2Close "; double close; void ...
I will code your EAs and Indicators for no charge
- m.m.m. replied Feb 20, 2013
Try JForex (Dukascopy).
Free platform with intraday range bars: Is there such a thing?
- m.m.m. replied Feb 20, 2013
Result in upper-left corner. #property indicator_chart_window extern int ma_period = 10; double close; void start() { if (close != Close[1]) { Comment("Close-MA: ", DoubleToStr((Close[1] - iMA(NULL, NULL, ma_period, 0, MODE_SMA, PRICE_CLOSE, 1)) / ...
I will code your EAs and Indicators for no charge
- m.m.m. replied Feb 20, 2013
Are you saying that the program I gave you does not do what you nedd, i.e. print the average range in pips for a given number of days and between given hours? I have briefly tested it for functionality and it does print a (reasonable) result into ...
Help with ADR Indicator with specified hours
- m.m.m. replied Feb 19, 2013
Undoubtedly so for the platform itself; however it would also take "market share" away from MQ.
Processing requests/responses directly with a broker without terminal
- m.m.m. replied Feb 19, 2013
Here is my rough idea of how it might work (not tested for accuracy, not optimised, only core calculus). Maybe you can start something. Note: this is an EA, not indicator. extern int macro_period = 5; // days extern int hour = 17; // hour to start ...
Help with ADR Indicator with specified hours