Profit_Target signal: how it works ??!! - futures io
futures io futures trading



Profit_Target signal: how it works ??!!


Discussion in MultiCharts

Updated by ABCTG
      Top Posters
    1. looks_one ABCTG with 3 posts (0 thanks)
    2. looks_two JohnJo with 3 posts (0 thanks)
    3. looks_3 Dvdkite with 2 posts (1 thanks)
    4. looks_4 pha777 with 1 posts (1 thanks)
    1. trending_up 997 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 7 replies
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Profit_Target signal: how it works ??!!

(login for full post details)
  #1 (permalink)
Mexico city
 
 
Posts: 15 since May 2019
Thanks: 4 given, 0 received

Hope somebody can shed some light on how the "Profit_Target" signal works.
I've tested it in my Live and Demo accounts with completely different and inconsistent results.

My understanding is that "Profit_Target" signal closes a position with a Limit order to ensure the number of ticks configured. Parameters:
>IsPositionBasis: if the profit is per total Position (true), if Contract (false)
>Amount: Number of ticks

My configuration:
>IsPositionBasis: false (so per Contract)
>Amount: 8 (ticks)

Traded: Nasdaq
Sold 6 contracts @9,153.75 Market
Buy Limit 6 @9,153.25

This is a 0.50 usd difference in price. Expected to be 2.0 instead because of 8 ticks configured.

Any help is appreciated.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Double Smoothed Stochastics Sound & Chart Allerts
The Elite Circle
Convert H Data TS to NT
NinjaTrader
Thanksgiving 2020 Fundraiser - lets be grateful!
Feedback and Announcements
Can Tradingviews Drawing tool create limit order
Platforms and Indicators
Trading Rig Upgrade for Backtesting/Optimization in Multicharts
MultiCharts
 
 
(login for full post details)
  #2 (permalink)
Taiwan
 
 
Posts: 5 since Feb 2020
Thanks: 1 given, 2 received

I don't know whether the Nasdaq have the limit order which is send to CME group.
If CME group didn't have limit order ,the limit order will be send when Multicharts receive the price and send the market order.
So it will be "Slip" .

Reply With Quote
The following user says Thank You to pha777 for this post:
 
(login for full post details)
  #3 (permalink)
Trieste Italy
 
 
Posts: 159 since Feb 2018
Thanks: 129 given, 20 received



JohnJo View Post
Hope somebody can shed some light on how the "Profit_Target" signal works.
I've tested it in my Live and Demo accounts with completely different and inconsistent results.

My understanding is that "Profit_Target" signal closes a position with a Limit order to ensure the number of ticks configured. Parameters:
>IsPositionBasis: if the profit is per total Position (true), if Contract (false)
>Amount: Number of ticks

My configuration:
>IsPositionBasis: false (so per Contract)
>Amount: 8 (ticks)

Traded: Nasdaq
Sold 6 contracts @9,153.75 Market
Buy Limit 6 @9,153.25

This is a 0.50 usd difference in price. Expected to be 2.0 instead because of 8 ticks configured.

Any help is appreciated.


Hello , of course the the profit target is a limit order and It always work for me. I use a form like this:

 
Code
setprofittarget( targetPoints * bigpointvalue);
if you also use setstoploss the same way then you'll have a bracket order (AKA oco order).

Maybe I didn't understood you question ...can you please explane it better and with some pieces of code to comment?

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Mexico city
 
 
Posts: 15 since May 2019
Thanks: 4 given, 0 received


Dvdkite View Post
Hello , of course the the profit target is a limit order and It always work for me. I use a form like this:

 
Code
setprofittarget( targetPoints * bigpointvalue);
if you also use setstoploss the same way then you'll have a bracket order (AKA oco order).

Maybe I didn't understood you question ...can you please explane it better and with some pieces of code to comment?

Thanks for the comment. This signal comes standard as a out-of-box in the Multicharts.net platform , I did not code it.
Looking at the source code the statement is:

>Signal: "Profit_Target"

 
Code
namespace PowerLanguage.Strategy
{
    [IOGMode(IOGMode.Disabled)]
    public class Profit_Target : SignalObject
    {
        public Profit_Target(object ctx) :
            base(ctx)
        {
            Amount = 8;
        }

        [Input]
        public bool IsPositionBasis { get; set; }

        [Input]
        public double Amount { get; set; }


        protected override void CalcBar(){
            CurSpecOrdersMode = IsPositionBasis ? ESpecOrdersMode.PerPosition : ESpecOrdersMode.PerContract;
            GenerateProfitTarget(Amount);
        }
    }
}

My point is, for the Nasdaq an Amount = 8 (ticks) corresponds to 2 points so the order should have closed with a sell price = 9,153.75 - 2.00 = 9,151.75 and not 9,153.25 as it did.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Trieste Italy
 
 
Posts: 159 since Feb 2018
Thanks: 129 given, 20 received


JohnJo View Post
Thanks for the comment. This signal comes standard as a out-of-box in the Multicharts.net platform , I did not code it.
Looking at the source code the statement is:

>Signal: "Profit_Target"

 
Code
namespace PowerLanguage.Strategy
{
    [IOGMode(IOGMode.Disabled)]
    public class Profit_Target : SignalObject
    {
        public Profit_Target(object ctx) :
            base(ctx)
        {
            Amount = 8;
        }

        [Input]
        public bool IsPositionBasis { get; set; }

        [Input]
        public double Amount { get; set; }


        protected override void CalcBar(){
            CurSpecOrdersMode = IsPositionBasis ? ESpecOrdersMode.PerPosition : ESpecOrdersMode.PerContract;
            GenerateProfitTarget(Amount);
        }
    }
}

My point is, for the Nasdaq an Amount = 8 (ticks) corresponds to 2 points so the order should have closed with a sell price = 9,153.75 - 2.00 = 9,151.75 and not 9,153.25 as it did.


Hello but sorry I thought you were using the easylanguage version of MC. I'm sure that someone with a better knowledge of MC.net will reply...

Reply With Quote
The following user says Thank You to Dvdkite for this post:
 
(login for full post details)
  #6 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Experience: Advanced
Platform: Multicharts, Tradestation
Broker: DTN IQ
Trading: ES
 
Posts: 2,218 since Apr 2013
Thanks: 398 given, 1,454 received

JohnJo,

it might make sense for you to check the symbol settings in Quotemanger to make sure that they are correct (especially Price Scale, Min Move and Big Point Value). It is a good practice to check these for every symbol you add as MC might not add the correct ones by default. Since the platform uses these values to compute the value and size of a tick wrong settings here can cause a lot of problems further down the road.
You can find the correct settings for a symbol for example on the website of the exchange.

Regards,

ABCTG


JohnJo View Post
Thanks for the comment. This signal comes standard as a out-of-box in the Multicharts.net platform , I did not code it.
Looking at the source code the statement is:

>Signal: "Profit_Target"

 
Code
namespace PowerLanguage.Strategy
{
    [IOGMode(IOGMode.Disabled)]
    public class Profit_Target : SignalObject
    {
        public Profit_Target(object ctx) :
            base(ctx)
        {
            Amount = 8;
        }

        [Input]
        public bool IsPositionBasis { get; set; }

        [Input]
        public double Amount { get; set; }


        protected override void CalcBar(){
            CurSpecOrdersMode = IsPositionBasis ? ESpecOrdersMode.PerPosition : ESpecOrdersMode.PerContract;
            GenerateProfitTarget(Amount);
        }
    }
}

My point is, for the Nasdaq an Amount = 8 (ticks) corresponds to 2 points so the order should have closed with a sell price = 9,153.75 - 2.00 = 9,151.75 and not 9,153.25 as it did.


Follow me on Twitter Visit my Facebook Reply With Quote
 
(login for full post details)
  #7 (permalink)
Mexico city
 
 
Posts: 15 since May 2019
Thanks: 4 given, 0 received


ABCTG View Post
JohnJo,

it might make sense for you to check the symbol settings in Quotemanger to make sure that they are correct (especially Price Scale, Min Move and Big Point Value). It is a good practice to check these for every symbol you add as MC might not add the correct ones by default. Since the platform uses these values to compute the value and size of a tick wrong settings here can cause a lot of problems further down the road.
You can find the correct settings for a symbol for example on the website of the exchange.

Regards,

ABCTG

Thanks for the suggestion. Just checked the settings in Quote Manager (see printscreen attached):
-Min movement = 25 , (the minimum tick value of a move is 0.25 , is the 25 correct ??)
-Big point value = 20 (value in usd of each point)



Help is appreciated

Attached Thumbnails
Click image for larger version

Name:	NQH0 config in Quote manager.JPG
Views:	32
Size:	32.6 KB
ID:	286075  
Reply With Quote
 
(login for full post details)
  #8 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Experience: Advanced
Platform: Multicharts, Tradestation
Broker: DTN IQ
Trading: ES
 
Posts: 2,218 since Apr 2013
Thanks: 398 given, 1,454 received

JohnJo,

MC computes a tick by multiplying Price Scale and Min movement. The settings on the screenshot are correct.

Regards,

ABCTG


JohnJo View Post
Thanks for the suggestion. Just checked the settings in Quote Manager (see printscreen attached):
-Min movement = 25 , (the minimum tick value of a move is 0.25 , is the 25 correct ??)
-Big point value = 20 (value in usd of each point)



Help is appreciated


Follow me on Twitter Visit my Facebook Reply With Quote


futures io Trading Community Platforms and Indicators MultiCharts > Profit_Target signal: how it works ??!!


February 5, 2020


Upcoming Webinars and Events
 

Bookmap

Nov TBD
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts