Remember price

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29004 quote
    AbzAbz
    Participant
    Veteran

    Hello

    can someone please help with following scenario

    when im on market and have recived profit for 30 points i then exit the market. I want to enter the market again when the price goes back to the first enter price. This for long and short trades

    Thanks

    #29008 quote
    ElsborgtradingElsborgtrading
    Participant
    Veteran

    Just an initial thought

    once openingprice=0
    
    if condition  then
    
    BUY 1 CONTRACTS AT MARKET
    openingprice=tradeprice
    ENDIF
    
    set target point 30
    
    if close crosses under openingprice then
    buy 1 contract at market
    endif
    Abz and Nicolas thanked this post
    #31696 quote
    MenghanMenghan
    Participant
    Junior

    i want to know  tradeprice become yesterday's low 

    i try low[1],but it didnt

Viewing 3 posts - 1 through 3 (of 3 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

Remember price


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Abz @abbas_sadiq Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by MenghanMenghan
9 years, 5 months ago.

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