when i buy a bar,it yesterday's low is sell time

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31687 quote
    Menghan
    Participant
    Junior

    hoe to do

    when i buy a bar,it yesterday’s low is sell time

    //i try

    i (variable)=low[1]

    if  i>=low then

    sell at market

    endif

    //but result didn’t  i want

    #31764 quote
    Nicolas
    Keymaster
    Master

    If you want to initiate a new short order, you must use SELLSHORT, as SELL is made to close a long (buy) order.

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

when i buy a bar,it yesterday's low is sell time


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Menghan @menghan Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
8 years, 11 months ago.

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