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
    MenghanMenghan
    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
    NicolasNicolas
    Keymaster
    Legend

    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.
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

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 NicolasNicolas
9 years, 5 months ago.

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