Stratégie Dow M1 Midnight Candle

Forums ProRealTime English forum ProOrder support Stratégie Dow M1 Midnight Candle

Viewing 4 posts - 1 through 4 (of 4 total)
  • #213913

    Hello, I have a code for a very simple strategy.

    Strategy :

    At the close of the midnight candle, I draw a line on the highest point and on the lowest point of it.

    Lorsqu’une bougie d’achat est franchie et se ferme au-dessus de la ligne du point le plus élevé, je prends un ordre d’achat.

    Lorsqu’une bougie de vente perce et se ferme sous la ligne du point bas, je passe un ordre de vente.

    À chaque position, le stop-loss est placé à 50 points et le take profit à 100 points.

    Il est possible que le graphique ait un ordre d’achat et de vente en même temps.

    Cette stratégie est applicable sur l’unité de temps de 1 minute.

    Je recommencerais le code chaque jour en entrant les valeurs de la bougie la plus haute et la plus basse (par défaut 1440 sur ce code).

    When a buy candle is crossed and closes above the high point line, I place a buy order.

    When a sell candle breaks through and closes below the low line, I place a sell order.

    At each position, the stop-loss is placed at 50 points and the take profit at 100 points.

    It is possible that the chart has a buy and sell order at the same time.

    This strategy is applicable on 1 minute timeframe.

    I would start the code over each day by entering the values of the highest and lowest candle (default 1440 on this code).

     

    Comme vous pouvez le voir, j’ai des messages d’erreur et je ne trouve pas d’où ça vient …

    Avez-vous une idée du problème? Merci

     

    As you can see, I have error messages and I can’t find where it comes from…

    Do you have an idea of ​​the problem? Thanks

    #213915

    Hello, I have a code for a very simple strategy.

    Strategy :

    At the close of the midnight candle, I draw a line on the highest point and on the lowest point of it.

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>When a buy candle is crossed and closes above the high point line, I place a buy order.</span></span> </span>

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>When a sell candle breaks through and closes below the low line, I place a sell order.</span></span> </span>

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>At each position, the stop-loss is placed at 50 points and the take profit at 100 points.</span></span> </span>

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>It is possible that the chart has a buy and sell order at the same time.</span></span> </span>

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>This strategy is applicable on the time unit of 1 minute.</span></span> </span>

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>I would start the code over each day by entering the values of the highest and lowest candle (default 1440 on this code).</span></span></span>

     

    <span class=”HwtZe” lang=”en”><span class=”jCAhz ChMk0b”><span class=”ryNqvb”>As you can see, I have error messages and I can’t find where it comes from…</span></span> <span class=”jCAhz ChMk0b”><span class=”ryNqvb”>Do you have an idea of ​​the problem?</span></span> <span class=”jCAhz ChMk0b”><span class=”ryNqvb”>THANKS</span></span></span> 🙂

    #213916

    I got your code to run by correcting many syntax errors etc.

    If you want to see my changes then copy and paste your code and my code into this …

    https://www.diffchecker.com/

     

     

    #213919

    I may have interpreted a few things incorrectly / not as you want.

    I just whipped through the code to see if I could get it to run with no errors.

    Hope it helps you to move forward.

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login