Stop to move at defined time.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12888 quote
    steynpjsteynpj
    Participant
    Average

    Any advise on the following please.

    Basic code to open at beginning of hourly bar with say a fixed (not trailing) stop of  100 pips .

    Need help with following:

    If the trade is still open at beginning of next bar,  stop should be moved at 100 pips from second bar open price, but only in direction of trade i.e. up for a long trade.

    If bars are not needed in above equation, move stop at specified time on clock.

    Thanks in advance

    #13530 quote
    NicolasNicolas
    Keymaster
    Legend

    Sorry, didn’t see your message before now. Seems to be possible to code this. Still in needs of this code?

    #13538 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I would appreciate that code, as well.

    Thank you.

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

From idea to ProBuilder code in seconds.

Your coding copilot for ProRealTime™. Ask in plain English — get clean, ready-to-paste indicators, screeners and systems.

Available in 7 languages
Try ProRealAI

Stop to move at defined time.


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
steynpj @steynpj Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
10 years ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 09/09/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...