Positions Size

Questions about MultiCharts and user contributed studies.
Jimmyrakete
Posts: 147
Joined: 04 Jun 2014
Has thanked: 2 times

Positions Size

Postby Jimmyrakete » 22 Sep 2019

ii'm completely new to writing programs these are my first steps

I wanted to write a program which always calculates the position size exactly and writes it in the chart.

but I can't get it right

Code: Select all

inputs:
TextBarsBack( 10 ),
TextPricePercent( 50 ),
Position (1) ;




variables:
var1 (0);

var1 = close / Position;

if LastBarOnChart then
begin
Value1 = Text_Float( var1, TextBarsBack, TextPricePercent ) ;
end ;

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Positions Size

Postby TJ » 22 Sep 2019

First Lesson in Coding:

See post #5
viewtopic.php?t=11713

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Positions Size

Postby TJ » 22 Sep 2019

Start here:
viewtopic.php?t=6929

See the ebooks in the first post. Download those free ebooks. They have sample codes on making texts.


Return to “MultiCharts”