stargazer
stargazer
Friends

Add friends via their profile or user search and you will be able to see if they are online

stargazer
Added topic how to use the cexpert money class?
Anyone has try this? i intend to use this without the cexpert class object (as in the examples). is this possible
stargazer
Added topic Trailing Stop code (using the Metaquote class)
I have this code to buy: CTrade* trader= new CTrade;    trader.SetExpertMagicNumber(eamagic);       trader.Buy(Lot,ins,Ask(),stloss,tprofit); Once it buy I want to have a trailing stop loss ? I saw the Trailing Stop
stargazer
Added topic user inputs + comment, disappears on the tester
I have this input and the following comments next to it: input int       RunMode= 1 ,   // This is to set testing/trading mode then, when I look at the strategy tester , the parameter  RunMode disappears
stargazer
Added topic OnTester(): How to obtain the passes/optimized EA parameters?
Is there a way to do this? I looked thru the  TesterStatistics(), but i cant find any way for it to obtain the EA parameters . The can do obtain, for eg. STAT_INITIAL_DEPOSIT The value of the initial deposit double STAT_WITHDRAWAL Money
stargazer
Added topic How to programmatically load chart symbol & EA on it?
Is there a way? Has anyone try this, any other links from the experience ones
stargazer
Added topic Cloud Optimizer Keeps giving these errors?
2011.11.04 13:42:06    MQL5 Cloud Hong Kong    genetic pass (481, 469285068385) tested with error "no memory" 2011.11.04 13:42:05    MQL5 Cloud Europe 2    genetic pass (388, 744960202127)
stargazer
Added topic Why CMoneySizeOptimized* fails in my code?
I have this entry function , but it keeps returning lot size=0....any guess? //+------------------------------------------------------------------+ uint entry( string ins, ENUM_ORDER_TYPE type){
stargazer
Added topic What does Minimal Balance in The Optimization Report means?
I searched everywhere - and I cant find on this. Anyone know
stargazer
Added topic How To Use TrailingStop class for my own manual trades?
I have these manual trades. And I want to have an EA to trail these trades. My question is, is this possible? I was wondering to code something using objects from the trailingstop class, is this correct approach
stargazer
Added topic optimization report error -- cannot load Table? What bug is this?
I have this optimization report saved as .xml, yet I cant open in excel, complaining "Table" error? Does anyone else? How to solve this
stargazer
Added topic PositionsTotal(), PositionSelect()... why is it not working?
I have created a small EA which has manage to successfully sends a pair of buy/sell stop orders correctly.  Now, if any of them gets triggered, the other pending order is deleted. I use the above commands, but they are not working
stargazer
Added topic Is there any shortcut or keys for looking up the commands/code in MQL5 reference?
Say I type in the editor, SymbolInfoDouble(.... and I want to see the MQL5 reference for this...is there a shortcut? Currently I keep having to go to the tabs, which is very cumbersome... thx
stargazer
Added topic Why this simple script returns nothing?
void OnStart ()   { //---    CSymbolInfo *mysymbol= new CSymbolInfo;       Alert (mysymbol.Name());       return ;   } I tried declaring the csymbolinfo object above, but its still
stargazer
Added topic mysymbol.Ask()=0 on tester...????
I have this simple piece, but I found this difference on the tester. Can I use symbolinfo object during tester? Or is it this object only applies to current? #include <Trade\SymbolInfo.mqh> CSymbolInfo mysymbol; Print ( "Obj Price = "
stargazer
Added topic Why error "possible loss due to conversion", and how to solve this?
I have written this small function which helps any programs to do the normalize of prices (without having to re-type the long normalize command), but it keeps giving this error. How can i solve this
stargazer
Added topic How to delete pending order?
Hi: I have this first loop which scans for open orders and pending orders .  If there is an open order and a pending order, I want to delete this pending order.  What codes should I use below? int PosTotal= PositionsTotal ();   
stargazer
Added topic Should I use OnTimer() in this case?
My trades are filled only at a certain X hour & Y hour.  In between those hours (X and Y), the EA has practically nothing to do.  Should I use OnTimer(), rather than OnTick()? Any suggestions from anyone who has done this using
stargazer
Added topic What does the asterisk * means? CTrailingNone *trailing=new CTrailingNone;
 What does the asterisk * means? ---> CTrailingNone * trailing=new CTrailingNone; Was trying to find some resources related to this, if anyone knows any, please tell me...many thanks
12