- Search Forex Factory
- 18 Results
- Okane replied May 1, 2012
Just a quick look, but you need to use normalisedouble on the calculated sl and tp, ie OrderModify(OrderTicket(),0,NormalizeDouble(sl,Digits),OrderTakeProfit(),0,Red); Also, OrderModify() doesn't like an unchanged value being passed to it. So don't ...
- Okane replied May 1, 2012
Just an idea... One way of doing this would be to use a global variable. You would have a script that would toggle a global variable to "show" or "hide". Change your indicator to display itself only if the global variable is "show" and to not ...
- Okane replied May 1, 2012
Hi, Add the line highlighted in red below, it should give you a pop up alert. if (g_ibuf_84[li_124] > filtersignal) { ObjectCreate("BreakoutBullish" + li_124, OBJ_ARROW, 0, Time[li_124], Low[li_124] - ld_112); ObjectSet("BreakoutBullish" + li_124, ...
- Okane replied Apr 24, 2012
Yes, a W1 chart for each instrument to be on the safe side.
- Okane replied Apr 24, 2012
A suggestion is to open and minimise a W1 chart. No need to have any indicators on it at all, have it "running in the background", and it should keep the W1 dataset updated.
- Okane replied Apr 24, 2012
1) You seem to have a very complicated set of nested for and if loops here, you use "for (i=0; i<k; i++)" twice - see below. You'd best tidy it up and try compiling again. for (i=0; i<k; i++) { if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) { if ...
- Okane replied Mar 12, 2012
I've added the option to change the position on the screen. I thought that for AUD/USD, the 100,000 refers to the base currency (AUD), not the quote currency (USD). In USD the lotsize would be 100,000 x 1.0539 = USD$105,390. So:- yearly percent = ...
- Okane replied Mar 11, 2012
Here you go.
- Okane replied Mar 9, 2012
Here you go. This is a very 'quick and dirty' EA just to prove the strategy in back test or on demo account, it is probably not suitable for live trading. It is not particularly robust; it does not cope well with restarts, changing TF/pair etc, and ...
- Okane replied Mar 9, 2012
The + and - keys will zoom in and zoom out. Is this what you want?
- Okane replied Mar 9, 2012
Here is one that I wrote quickly. I'm not sure about the yearly calculation, so please try it and see if you agree with the swap numbers.
- Okane replied Mar 5, 2012
If you are using MT4, there are a couple of ways of transferring price information:- 1) live price feed can be transferred by the DDE connection. Firstly, in MT4 CTRL+O to open the options box, click the "server" tab and make sure "Enable DDE ...
- Okane replied Nov 17, 2011
Where does your for loop start and end? You seem to have the return(0) inside your for loop. I agree with nubcake's previous response about defining the size of your array. You need to start with an array of size 1 ie double FPIbuffer[1]; and then ...
- Okane replied Mar 30, 2011
Hi Newark18, I think this could be quickly done by a small addition to 7bit's code. At the moment the code allows starting and stopping when price crosses a trendline that you have manually drawn and described. You could modify the code to allow the ...
- Okane replied Jan 6, 2011
hi, you can write a comment in the top right hand corner of the price chart using a few lines of code in an indicator. For example:- ObjectCreate("PairName",OBJ_LABEL,0,0,0); ObjectSet("PairName",OBJPROP_CORNER,1); ...
- Okane replied Jan 6, 2011
Fantastic — Hi 7bit, Just finished reading this thread and your website, and trying out your EA. I think linearly increasing loss against geometrically increasing profit is a great concept. I had a similar idea that I worked on, but this is a ...
- Okane replied Jan 5, 2011
Hi, please try this indicator.
- Okane replied Jan 4, 2011
Hi, please try this indicator.
- Posts by Member Search: 'Okane'