Search found 7 matches

by Barbo
25 Feb 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 676

Re: Build custom fitness for Portfolio Trader

Thank you Svetlana, of course i will if necessary, but i think we can solve here: becuase what i'm trying to do is to refer to historical portfolio values to compare them and calculate my own custom fitness. For example.. is it possible to calculate the standard deviation of the portfolio equity cur...
by Barbo
23 Feb 2022
Forum: MultiCharts .NET
Topic: Time zone, trading session hours, and holiday schedule
Replies: 8
Views: 5569

Re: Time zone, trading session hours, and holiday schedule

Thank you Kate!
Thi is the way i took.
by Barbo
18 Feb 2022
Forum: MultiCharts .NET
Topic: Time zone, trading session hours, and holiday schedule
Replies: 8
Views: 5569

Re: Time zone, trading session hours, and holiday schedule

Hi all, so am i right that there is still no possibility to access holidays' date from the signals?
Thanks!
by Barbo
07 Feb 2022
Forum: MultiCharts
Topic: Calculate the distance in points from close to moving average [SOLVED]
Replies: 18
Views: 3044

Re: Calculate the distance in points from close to moving average [SOLVED]

Hi tonyt, you simply have to translate the row where you calculate distfromSMA after the calculation of the moving average: ATR = averagetruerange(ATRLength); MP = marketposition; SLB = sessionlastbar; TrendSMA = AverageFC(close,TrendGuide); distfromSMA = absvalue(close - TrendSMA); {moved here} rea...
by Barbo
05 Feb 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 676

Build custom fitness for Portfolio Trader

Hi everyone, i'd like to know if there is a way to build custom fitness in portfolio trader that considers the set of strategies as a single strategy. I'll explain: i would like to access past positions and those positions would need the date, the time of entry and exit, after i need to process them...
by Barbo
03 Nov 2021
Forum: MultiCharts
Topic: How to Skip Calculations or functions.
Replies: 2
Views: 607

Re: How to Skip Calculations or functions.

ok, I solved by inserting the variable (TrueFalseSimple) inside the Function. Here is a rough example: Signal: Var:TrFls(False),Count(0); If Count=10 then begin TrFls=True; count=0; OURFUNCTION(TrFls); end; TrFls=False; Count+=1; Function: Input:TrFls(TrueFalseSimple); If TrFls=True then begin //her...
by Barbo
03 Nov 2021
Forum: MultiCharts
Topic: How to Skip Calculations or functions.
Replies: 2
Views: 607

How to Skip Calculations or functions.

Hello, sorry if the topic is banal but I'm new to programming. i'm running a script with a really heavy function. Since I have to analyze very long series I would like this function to be calculated only every X bars (to reduce the optimization time), but I realized that the attempt is useless. I no...

Go to advanced search