Use Supertrend for MU Trading

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #232360 quote
    Lambo
    Participant
    New

    Hello!

    I have problem to get the right formulation in PRT for Point c)

    a) Entry: i want to buy SUP long when the month ultimo time is. Herefore i want to start at Day 26

    b)Exit with gain: Than i want to hold until we close over the 10 Day high

    c) Exit with pain: If the course is over the supertrend when i open the position, then i want to sell the position if the close is under the supertrend.

    How can i formulate c in PRT?

     

    defparam preloadbars=5000
    defparam cumulateorders=false
    size=(100000+strategyprofit)/(close)

     

    I Would use the following indicators:

    indicator1 = donchianchannelup[10]
    c1=close>indicator1

    indicator2 = SuperTrend[2.5,10]
    c2 = close<SuperTrend[2.5,10]

    if not longonmarket and day>25 then
    buy size contracts at market
    endif

     

    if longonmarket and c2 then

    sell at market

    endif

     

    Thank you very much

    #232361 quote
    Lambo
    Participant
    New

    and c1 of course for the exit with the donchian and not c2

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Use Supertrend for MU Trading


ProOrder support

New Reply
Author
author-avatar
Lambo @lambo Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Lambo
1 year, 8 months ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 05/06/2024
Status: Active
Attachments: No files
Logo Logo
Loading...