- Search Energy EXCH
- dragoncat replied Aug 26, 2008
if (X01 > X02) color_X01 = Lime; else if (X01 < X02) color_X01 = Red; else color_X01 = Yellow; ??
Help changing code......
- dragoncat replied Aug 24, 2008
your EA should have codes, that when it first loads to check if any signal have been triggered with the most recent candle, and if so, resets the trigger/counter, thus preventing the EA from ever opening orders/creating alerts on the instance that ...
Need Help in Coding!
- dragoncat replied Aug 24, 2008
arrays is just like a variable, except that you use one variable name and use a number to reference to all the values, Time[], High[], Low[], Open[], Close[] etc.etc are examples of variable i'd like to help more, but I've been very busy, and it's ...
Need Help in Coding!
- dragoncat replied Aug 24, 2008
if you have more than one object in a time frame, why not just use a counter? depends on your application, both method have their advantage and disadvantages.. int init [ int ObjCnt=1; } int start() { ObjectCreate("name"+ObjCnt, ...); ObjCnt++; }
Why is my code not creating multiple objects?
- dragoncat replied Aug 19, 2008
the solution for your problem seem very complicated... if you must trade 3 different time frames using one chart... note: your example is still trying to retrieve the Last order time from the server (OrderOpenTime()) which I don't recommend as it ...
Need Help in Coding!
- dragoncat replied Aug 19, 2008
if you trade 3 time frame using one chart using the same EA, it becomes much more complicated, as Time[0] returns the start time of the current un-closed candle in your chart, thus you will need some code to filter out the time range of each candle. ...
Need Help in Coding!
- dragoncat replied Aug 18, 2008
so i guess it's one of those stop hunting tricks by the broker again, pushing prices down to 1.4640 at 4:30PM sunday afternoon at a time you cannot trade, and promptly bouncing back up to 1.4675 before 5PM...

EURUSD
- dragoncat replied Aug 17, 2008
hi Bruce, could you trade off those figures when you saw it on your platform? Coz my FXCM platform was saying the market is "closed" until 5pm... meaning i couldn't trade off those figures..
EURUSD
-
How to backtest MT4 more than a few months?
Started Aug 16, 2008|Rookie Talk|1 replyfor some reason, my MetaTrader only let me back test up to Apr 2008, is it because I have a ...
- dragoncat replied Aug 16, 2008
and if you are afraid that there's too many ticks happening in the same second, then you can also record down the Volume[0] of the moment when you last placed the order to make sure it won't place 2 orders in the same second...
Need Help in Coding!
- dragoncat replied Aug 16, 2008
if you use separate EA for different time frame, then the above code should work if it works, it should be better compared to sending information to & from the server all the time to check the OrderOpenTime()?? but if you use the same EA for ...
Need Help in Coding!
- dragoncat replied Aug 16, 2008
would this work??? int init() { LastBuyTime = 0; LastSellTime = 0; } int start() { if (Buy Conditions Met) { if (Time[0] > LastBuyTime) //check the time of last buy order { //process order OrderSend(blah blah blah); if (No Error) LastBuyTime = ...
Need Help in Coding!
- dragoncat replied Aug 12, 2008
it doesn't matter, trade what you see on the chart, not what you think, the trend is down on short-medium term, so sell the rallies until the trend changes again.. having said that, a bottom seems to have been found (around 1.4814) and the upward ...
Jacko's Forex House of Pleasure and Pain
- dragoncat replied Aug 12, 2008
no problems, the reason you didn't notice the function is probably you never needed to use it... hehe.. I only just found out about it when I needed something to draw the arrow, which is just a cosmetic thing, won't affect the actual indicator or ...
How to draw arrows perfectly???
- dragoncat replied Aug 12, 2008
as far as i know, a system is worthless without good analysis, and the only ones that have been losing heaps in the last 1-2 weeks, are those who stubbornly stuck to their belief that Euro is always going to go up forever, and fail to notice that ...
Jacko's Forex House of Pleasure and Pain
- dragoncat replied Aug 11, 2008
ok, i had some time to go back to read the documentation and I've worked it out, in case someone else runs into the same trouble, I sorted it out with this code... the place where I have the arrows on top of the price candle, I shift it up 10% of ...
How to draw arrows perfectly???
- dragoncat replied Aug 11, 2008
yes, agree, thus i hardly read any threads anymore, and yes, if I was Jacko, I wouldn't bother replying, and I personally couldn't be bothered to share anything these days as there's too many closed mind a--holes on the forum, it's just a waste of ...
Jacko's Forex House of Pleasure and Pain
- dragoncat replied Aug 10, 2008
the uptrend clearly ended on the 15th Jul when the new high got rejected and retraced within hours of reaching the new high, the price actions shows there's no buying interest, you can clearly see the bears are taking over, and on 22th Jul, boldly ...
Jacko's Forex House of Pleasure and Pain
- dragoncat replied Aug 8, 2008
i'm do not know Jacko nor is his turtle...
but yes, you seem quite a confused basta_d...
why looking at one time frame while trading another time frame, it's like you're out of touch with the reality, you're in one dimension, and thinking ...Jacko's Forex House of Pleasure and Pain
- dragoncat replied Aug 8, 2008
but if I use the top of the candle (ie. ObjectCreate("Arrow", OBJ_ARROW, 0, Time[i], High[i])) the arrow get's covered by the top of the candle, how do I avoid that? I tried to shift the candle up with the "High[i] + pips", but clearly in different ...
How to draw arrows perfectly???