Protradercode for close below ma

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27944 quote
    RDHEXTON
    Participant
    New

    I am using 2 moving averages for and short and using a trailing stop profit As I cant use a stop loss and profit target as well with Proorder I wanted to close out when my close fell through the 1st Moving average for a long and up through first moving average for a short

    I tried writing the following but the program did not like use of word “close”

    If longmarket and c < indicator1 then close at market

    any suggestions or can I write something else for a stop loss or profit target

    Many thanks

    Richard Hexton

    #27955 quote
    robertogozzi
    Moderator
    Master

    To close a LONG trade you have to use the instruction SELL, to close a SHORT trade you have to use EXITSHORT, instead.

    #27956 quote
    RDHEXTON
    Participant
    New

    Thank you appreciated – new tot this!!

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

Protradercode for close below ma


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
RDHEXTON @rdhexton Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by RDHEXTON
8 years, 11 months ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 03/09/2017
Status: Active
Attachments: No files
Logo Logo
Loading...