Remember price

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29004 quote
    Abz
    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
    Elsborgtrading
    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
    Menghan
    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.

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 Menghan
8 years, 11 months ago.

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