Trailing stop loss that advances when a new swing high or low are made

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #154924 quote
    Vonasi
    Moderator
    Master

    ‘cumulateorder’ should be ‘cumulateorders’

    ligand thanked this post
    #154978 quote
    ligand
    Participant
    Average

    Thanks, vonasi, sorry of course…and str means avaragetruerange.

    Now I screened the whole handbook but I can’t find an answer to this (hopefully) last question:

    If my screener tells me to buy, I could just write a single buy- command at the beginning of the swing low/trailing stop code and start it. But how can I stop the program to buy again after using the sell-stop. QUIT or ONCE don’t work.

    Sorry for all these questions.

    #154985 quote
    Vonasi
    Moderator
    Master

    Sorry – I don’t understand your question.

    #155107 quote
    ligand
    Participant
    Average

    The code from Thally manages the exit of the automated trade.

    My screener gives me the candidate for the trade an tells me: buy now.

    Now I just need a code to integrate in Thallys program at the beginning, which commands the immediate execution of the trade entry (after manually starting the trade program) once and no more. Afterwards the exit management from Thally kicks in.

    #156659 quote
    ligand
    Participant
    Average

    Or can someone alternatively please help me to transform Thally’s code into an indicator, to which I can link a stop-loss order via the alarm or alert function??? If it is not possible to transform the program into a comlete trading system with a simple and single entry.

    Or where could I get help from, regardless in which way?

    I’d be very thankful

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.

Trailing stop loss that advances when a new swing high or low are made


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Thally @rodger_dodger Participant
Summary

This topic contains 19 replies,
has 5 voices, and was last updated by ligand
5 years, 1 month ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/10/2019
Status: Active
Attachments: No files
Logo Logo
Loading...