![]() ![]() |
Sep 29 2006, 9:17
Post
#1
|
|
|
Member ![]() ![]() Group: Membre Actif Posts: 30 Joined: 8-August 06 Member No.: 1,043 Broker: MetaTrader Demo/Real: Demo Leverage: 1:10 |
Bonjour,
J'ai ce message d'erreur : 2006.09.29 09:34:43 trade EURUSD,M1: Error = trade is not allowed in the expert properties Lorsque je lance ce script : Trade.mq4 téléchargé ici : http://codebase.mql4.com/267 CODE //+------------------------------------------------------------------+ //| trade.mq4 | //| Copyright © 2004, MetaQuotes Software Corp. | //| http://www.metaquotes.net/ | //+------------------------------------------------------------------+ #property copyright "Copyright © 2004, MetaQuotes Software Corp." #property link "http://www.metaquotes.net/" #include <stdlib.mqh> #include <WinUser32.mqh> //+------------------------------------------------------------------+ //| script "trading for all money" | //+------------------------------------------------------------------+ int start() { //---- if(MessageBox("Do you really want to BUY 1.00 "+Symbol()+" at ASK price? ", "Script",MB_YESNO|MB_ICONQUESTION)!=IDYES) return(1); //---- int ticket=OrderSend(Symbol(),OP_BUY,1.0,Ask,3,0,0,"expert comment",255,0,CLR_NONE); if(ticket<1) { int error=GetLastError(); Print("Error = ",ErrorDescription(error)); return; } //---- if(OrderSelect(ticket,SELECT_BY_TICKET)) OrderPrint(); //---- return(0); } //+------------------------------------------------------------------+ Ou est mon erreur ? Merci, Tintin92 |
|
|
|
Sep 29 2006, 9:23
Post
#2
|
|
|
Member ![]() ![]() Group: Membre Actif Posts: 30 Joined: 8-August 06 Member No.: 1,043 Broker: MetaTrader Demo/Real: Demo Leverage: 1:10 |
J'ai eu la réponse sur un autre forum.
Il faut cocher l'option : "Allow live trading" dans Tools / Options / Experts tab Tintin92 |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
10 | cjacques | 6,442 | 26th December 2005 - 17:24 Last post by: rem |
|||
![]() |
0 | Charly | 1,441 | 1st December 2005 - 12:02 Last post by: Charly |
|||
![]() |
11 | Maxime | 4,951 | 5th January 2006 - 13:33 Last post by: Maxime |
|||
![]() |
12 | fetha | 4,318 | 25th March 2008 - 12:01 Last post by: Arnaud Jeulin |
|||
![]() |
2 | lolo | 1,455 | 19th February 2007 - 9:38 Last post by: lolo |
|||
| Lo-Fi Version | Time is now: 8th January 2009 - 7:06 |
Chat
Forex Forum
English
Français
- Arnaud Jeulin: Req Info
Jan 8, 5:59 GMT - forexamericas: Adp Jobs Report Sets The Mood In Wall Street.
Jan 8, 0:27 GMT - oharas: Gold Trading
Jan 7, 22:36 GMT - oharas: Does The Market Trade Against You?
Jan 7, 22:22 GMT - j06smith: Forex Analysis
Jan 7, 21:13 GMT - karinpero: Arnaud Okay, Can You Answere How Many Trades You Do Per Week Just Take A Guess
Jan 7, 21:02 GMT - Arnaud Jeulin: Technical Analysis
Jan 7, 16:47 GMT - andrufx: General Information To Help Traders
Jan 7, 16:26 GMT - Arnaud Jeulin: Arnaud You Say You Use Visual Support Resistance Please Explain In Detail What That Is
Jan 7, 16:12 GMT - AlbertG1: Indicators
Jan 7, 15:35 GMT
- Arnaud Jeulin: Ma Technique ...
Jan 8, 5:52 GMT - damtoul: Soyez Au Parfum De La Richesse Avec Le "sniper Forex"
Jan 7, 19:39 GMT - Arnaud Jeulin: Inflation De 4 Millions De % Au Zimbabwe
Jan 7, 16:37 GMT - damtoul: Eur/gbp
Jan 7, 16:34 GMT - raf: Est-ce Programmable Sur Mt4?
Jan 7, 14:17 GMT - Tribuforex: Pyramide De Gann
Jan 7, 9:22 GMT - Tribuforex: Résistances Et Supports
Jan 7, 9:21 GMT - jctrader: Enquête Chez Crown Forex
Jan 5, 22:12 GMT - GAJELO: Swingtrading sur le Forex
Jan 5, 16:18 GMT - damtoul: Euro Usd
Jan 5, 15:41 GMT





Sep 29 2006, 9:17






