Forex
Google

Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2006, 09:22 AM
dreamer dreamer is offline
Member
 
Join Date: Feb 2006
Location: malaysia
Posts: 44
dreamer is on a distinguished road
need help

i keep receiving this message eventhough after compiling the indicator with no error and warning.Am i missing something?


2006.07.12 17:18:52 Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\indicators\Solar Wind.ex4' on the GBPUSD,M30
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-12-2006, 09:40 AM
pipeline pipeline is offline
Member
 
Join Date: Mar 2006
Posts: 49
pipeline is on a distinguished road
Quote:
Originally Posted by dreamer
i keep receiving this message eventhough after compiling the indicator with no error and warning.Am i missing something?


2006.07.12 17:18:52 Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\indicators\Solar Wind.ex4' on the GBPUSD,M30
Is the file "Solar Wind.ex4" in the folder "C:\Program Files\MetaTrader - North Finance\experts\indicators\"?

If it is, I have no clue what s going wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-12-2006, 09:48 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,160
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by dreamer
i keep receiving this message eventhough after compiling the indicator with no error and warning.Am i missing something?


2006.07.12 17:18:52 Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\indicators\Solar Wind.ex4' on the GBPUSD,M30
Probable you are using some EA?

Try to re-start MetaTrader.
Or delete Solar Wind.ex4 file and compile this indicator once again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-12-2006, 10:11 AM
dreamer dreamer is offline
Member
 
Join Date: Feb 2006
Location: malaysia
Posts: 44
dreamer is on a distinguished road
pipeline = yes i have ex4 file in "C:\Program Files\MetaTrader - North Finance\experts\indicators\"


ND = yes i'm testing a modified EA using solar wind indicator (copy & paste).i attach the EA here and if maybe u can take a look and repair it.

thanks in advance

Attached Files
File Type: mq4 testingea1.mq4 (14.3 KB, 19 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-12-2006, 10:51 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,160
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by dreamer
pipeline = yes i have ex4 file in "C:\Program Files\MetaTrader - North Finance\experts\indicators\"


ND = yes i'm testing a modified EA using solar wind indicator (copy & paste).i attach the EA here and if maybe u can take a look and repair it.

thanks in advance

Open your EA in MetaEditor and change

Solar Wind

to

Solar Winds

Because name of indicator is Solar Winds.mql4 (not Solar Wind).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-12-2006, 11:34 AM
dreamer dreamer is offline
Member
 
Join Date: Feb 2006
Location: malaysia
Posts: 44
dreamer is on a distinguished road
thanks alot ND.... i found out that the solar wind indicator name inside my pc are Solar_Wind_Ind. so after change the indi name to be same as the name inside file folder so the problem solved already.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-25-2006, 03:43 PM
dreamer dreamer is offline
Member
 
Join Date: Feb 2006
Location: malaysia
Posts: 44
dreamer is on a distinguished road
void OpenSell()
{
int err, ticket;
double ldLot, ldStop, ldTake;
string lsComm;

ldLot = GetSizeLot();
ldStop = 0;
if ( StopLoss > 0 ) ldStop = Bid + StopLoss * Point ;
ldTake = 0;
if (TakeProfit > 0) ldTake = NormalizeDouble(GetTakeProfitSell(),Digits);
lsComm = GetCommentForOrder();

ticket=OrderSend(Symbol(),OP_SELL,ldLot,NormalizeD ouble(Bid,Digits),Slippage,ldStop,ldTake,lsComm,Ma gicNumber,0,Red);
if(ticket<=0)
{
err = GetLastError();
Print("Error opening Sell order [" + lsComm + "]: (" + err + ") " + ErrorDescription(err));
}
else
{
if (UseSound) PlaySound(NameFileSound);
}


hi guyss.... i need help to make it open another order only after the earlier position gain a profit (variable setting).



example

extern int Pips=15; // Distance in Pips from one order to another


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



All times are GMT. The time now is 06:24 AM.