hallo team, there is the possibility to view on chart the line of Setstoploss and Setprofittarget like in TS?
i've already tried using function TL_New..... but i receive Line0 error; very strange, only if i put Setstoploss inside on Trendline...
you should think to visualize it in the future?
view Setprofittarget Setstoploss
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: view Setprofittarget Setstoploss
It does not work because your profit target of $500 does not translate to a price level.also print function seems not work, if i try :
print (Setprofittarget(500));
i get error "incorrect argument".
You will need a logic to calculate the exact price from the entry point.
Re: view Setprofittarget Setstoploss
yes TJ, i can understand the syntax problem, but anyway for MC always mean a price where to exit, therefore is stubid that i have to recalculate by logical expression to view it..
in TS is a flag that show these keyword.
maybe in future should be possible also in MC.
in TS is a flag that show these keyword.
maybe in future should be possible also in MC.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: view Setprofittarget Setstoploss
Hello waldem,
Are you referring to backtesting or forward testing or data playback or realtime trading with broker?
Are you referring to backtesting or forward testing or data playback or realtime trading with broker?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: view Setprofittarget Setstoploss
Waldem, in order to see the active orders for the instrument you need to open the chart trading panel, select the broker profile and the account you are using for the auto trading.
- Smoky
- Posts: 518
- Joined: 03 Dec 2010
- Location: Thailand
- Has thanked: 99 times
- Been thanked: 121 times
Re: view Setprofittarget Setstoploss
TJ don't forget that now we have "SetProfitTarget_pt" much easyer to compute level in ticks
You will need a logic to calculate the exact price from the entry point.
(better when you trade with many shares, level stay identical not $ amont ...)
Usage
SetProfitTarget_pt(Amount)
Where: Amount - a numerical expression, specifying the profit target amount in ticks.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: view Setprofittarget Setstoploss
You still need a logic to calculate the target price from the entry point.TJ don't forget that now we have "SetProfitTarget_pt" much easyer to compute level in ticks
You will need a logic to calculate the exact price from the entry point.
(better when you trade with many shares, level stay identical not $ amont ...)
Usage
SetProfitTarget_pt(Amount)
Where: Amount - a numerical expression, specifying the profit target amount in ticks.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: view Setprofittarget Setstoploss
Were there any active orders for the instrument at that moment in the Order and Position Tracker - Orders tab?i see nothing Henry..
maybe some other settings..
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: view Setprofittarget Setstoploss
waldem, you need to contact your broker directly regarding this issue as you are using a third party broker plugin.