R?seau bidimensionnel vs r?seau unidimensionnel - Page 2
Page 2 sur 2 PremiérePremiére 12
Résultats de 11 é 13 sur 13

Sujet : R?seau bidimensionnel vs r?seau unidimensionnel

  1. #11
    hey ec ..... oui, les scripts sont un one-shot deal ..... vous cr?ez des scripts de la m?me mani?re que ea est juste de choisir un script quand MetaEditor demande ce que vous voulez cr?er ..... copier et coller le code d'exemple ci-dessus et de compiler ..... puis placez-le sur n'importe quel tableau de d?mo ..... la plupart des scripts ne montrent pas les entr?es, sur celui-ci passer le commerce ? vrai ...... vous verrez les commandes plac?es .. ... j'utilise toujours des scripts pour placer un grand nombre de commandes ..... pour la s?curit? ..... oui, vous pouvez faire la m?me chose avec ea, juste besoin d'un code de sauvegarde pour assurer que rien ne se bloque ... ... j'ai perdu un couple en quelques minutes une fois quand une boucle a continu? ? placer des ordres dans un compte en direct ..... il aurait pu ?tre pire ...... h

  2. #12

    Citation Envoy? par ;
    J'ai perdu un couple grand en quelques minutes une fois quand une boucle a continu? ? passer des ordres dans un compte en direct ..... il aurait pu ?tre pire ...... h
    Ouch! ... Yes, I have had this happen to me too, except fortunately it was on a demo account. But it seemed like it was always a programming issue, and was something I could correct. Here is an example of what I do to insure only one order is open at any particular level: PHP Code: <code><span style=???color: #000000???> <span style=???color: #0000BB???></span><span style=???color: #FF8000???>//----OpenBuyOrder
    </span><span style=???color: #007700???>if(</span><span style=???color: #0000BB???>Ask</span><span style=???color: #007700???>==</span><span style=???color: #0000BB???>Targ5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;</span><span style=???color: #0000BB???>Gate5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;==</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>)
    {
    </span><span style=???color: #0000BB???>Tk_5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;=</span><span style=???color: #0000BB???>OrderSend</span><span style=???color: #007700???>(</span><span style=???color: #0000BB???>Symbol1</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>OP_BUY</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>Lots1</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>Ask</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>Slip1</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>,</span><span style=???color: #DD0000???>??????</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>Lime</span><span style=???color: #007700???>);</span><span style=???color: #0000BB???>Gate5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;=</span><span style=???color: #0000BB???>1</span><span style=???color: #007700???>;
    }
    </span><span style=???color: #FF8000???>//----CheckifOrderhasClosed
    </span><span style=???color: #007700???>if(</span><span style=???color: #0000BB???>OrderSelect</span><span style=???color: #007700???>(</span><span style=???color: #0000BB???>Tk_5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;,</span><span style=???color: #0000BB???>SELECT_BY_TICKET</span><span style=???color: #007700???>,</span><span style=???color: #0000BB???>MODE_HISTORY</span><span style=???color: #007700???>)==</span><span style=???color: #0000BB???>true</span><span style=???color: #007700???>)
    {
    </span><span style=???color: #0000BB???>datetimectmT5</span><span style=???color: #007700???>=</span><span style=???color: #0000BB???>OrderCloseTime</span><span style=???color: #007700???>();if(</span><span style=???color: #0000BB???>ctmT5</span><span style=???color: #007700???>gt;</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>){</span><span style=???color: #0000BB???>Gate5</span><span style=???color: #007700???>#91;</span><span style=???color: #0000BB???>i</span><span style=???color: #007700???>#93;=</span><span style=???color: #0000BB???>0</span><span style=???color: #007700???>;}
    }
    </span><span style=???color: #0000BB???></span> </span> </code> And here, Gate5[i] (in accord with Targ5[i] and Tk_5[i]) is preset to 0 which, once the order is placed, is set to 1. And it will remain set to 1 (thus prohibiting any new orders) until OrderCloseTime() is queried and it's determined the order has actually closed. At which point Gate5[i] is reset to 0 and, once Targ5[i] is reached, it opens a new order. So long as I implement something like this, I rarely seem to have any problems.

  3. #13
    2 pi?ce (s) jointe (s) hey ec .... en fait l'ea compte les ordres deux fois pour assurer aucun m?lange ... il utilise des ordres de limite et d'arr?t en grand nombre ..... il comptait les mauvais ordres de type .. Donc, il n'y a jamais eu de gros probl?mes ... pas de gros probl?mes, des pertes ?normes sont monnaie courante pour moi et on n'est pas du tout pr?s du livre des records ... c'?tait l'erreur b?te que je me suis donn? une bonne racl?e ...... h
    https://www.sundytrading.com/general...day-trade.html
    https://www.sundytrading.com/trading...s-success.html

Régles des messages

  • Vous ne pouvez pas cr?er de sujets
  • Vous ne pouvez pas r?pondre aux sujets
  • Vous ne pouvez pas importer de fichiers joints
  • Vous ne pouvez pas ?diter vos messages
  •  
  • Les BB codes sont Activés
  • Les Smileys sont Activés
  • Le BB code [IMG] est Activé
  • Le code [VIDEO] est Désactivé
  • Le code HTML est Désactivé
Le site d'sundytrading utilise des cookies
Le site d'sundytrading utilise des cookies pour vous assurer la meilleure expérience sur notre site ; certains sont déjà effectifs. Vous pouvez consulter plus de détails sur leurs usages ici. Veuillez cliquer sur le bouton à droite pour accepter nos cookies. Si vous continuez à utiliser le site internet d???sundytrading, nous considérerons que vous acceptez nos cookies.