Information

Username: vikramtt
Member since: 14 Nov 2017
Last login: 14 Nov 2017
Status: Active

Activity

Where Created Comments
Algorithms 0 2
Forum Topics 0 0
Jobs 0 0

Last Algorithm Comments

VI
vikramtt · 6 years ago

Hi,

Thank you for the reply, as i said am just learning very basic, am trying to assume what the logic doing in the context even if dont understand some of it.

2. Just line with color change for bullish bearish

Thank you once again for your time.

VI
vikramtt · 6 years ago

Hi,

was looking for this, I am learning to code, can please help me with following

1. To change the color if the price closes below the period, is below the correct way to do that, am not sure how it will impact later part of code its little advance for me.

if (MarketSeries.Close.Last(1) > _movingAverage3.Result[index - 1])
                _trend[index] = 1;
            else if (MarketSeries.Close.Last(1) < _movingAverage3.Result[index - 1])
                _trend[index] = -1;

2. secondly instead of dotted line can we have line