ORDER IMMEDIATELY AND EXIT AFTER 4 CANDLES ATLEAST

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

    Dear sir/madam,

    1. If I would like to place order immediately once my conditions are satisfied. How do I do that cause I see that the order is being placed usually in the next candle.
    2.  If I would like to exit my position on after atleast 4 candles. How do I do that cause according to my strategy I got buy and sell on the same candle couple of times ending up in losses.
    3. If I would like to get a sound alert when a stock is found as per my conditions in the proscanner. How do I do that. As my conditions are not met frequently and hence I don’t to keep looking at the screen continuously.

    Thank you. Response is deeply appreciated.

    #44324 quote
    DespairDespair
    Blocked
    Master

    1.) Impossible.

    2.) Here you go:

    if intradaybarindex-tradeindex =4 then
      if longonmarket then
        sell at market
      elsif shortonmarket then
        exitshort at market
      endif
    endif

    3.) I don’t know. But I think it might be done in the platform options.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

ORDER IMMEDIATELY AND EXIT AFTER 4 CANDLES ATLEAST


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by DespairDespair
9 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/21/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...