njardim
njardim's avatar

Info

Username:njardim
Name:njardim
Member since: 06 Dec 2015

About

None

Signature

None

Last Algorithm Comments

@Regression:  30 Dec 2015, 16:09


Great stuff. Try this after line #183 maybe it gives you some new ideas along the lines. It's raw stuff so just use it at the end.             // NJ             var High = prc[index - 1] + sq;             var Middle = prc[index - 1];             var Low = prc[index - 1] - sq;             var HM11 = ((High - Middle) * 0.886) + Middle;             var LM11 = ((Middle - Low) * 0.114) + Low;             var HM23 = ((High - Middle) * 0.764) + Middle;             var LM23 = ((Middle - Low) * 0.23) + Low;             var HM38 = ((High - Middle) * 0.618) + Middle;             var LM38 = ((Middle - Low) * 0.38) + Low;             var HM50 = ((High - Middle) * 0.5) + Middle;             var LM50 = ((Middle - Low) * 0.5) + Low;             var HM61 = ((High - Middle) * 0.38) + Middle;             var LM61 = ((Middle - Low) * 0.618) + Low;             var HM76 = ((High - Middle) * 0.23) + Middle;             var LM76 = ((Middle - Low) * 0.764) + Low;             var HM88 = ((High - Middle) * 0.114) + Middle;             var LM88 = ((Middle - Low) * 0.886) + Low;             ChartObjects.DrawText("Highh", "\t" + "00.00%", index, High, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("Highl", index, High, index - 10, High, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawLine("Highr", index, High, index + 7, High, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("Middleh", "\t" + "100.00%", index, Middle, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.White);             ChartObjects.DrawLine("Middlel", index, Middle, index - 10, Middle, Colors.White, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawLine("Middler", index, Middle, index + 7, Middle, Colors.White, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("Lowh", "\t" + "00.00%", index, Low, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("Lowl", index, Low, index - 10, Low, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawLine("Lowr", index, Low, index + 7, Low, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM11h", "\t" + "11.40%", index, HM11, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM11", index, HM11, index - 10, HM11, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM11h", "\t" + "11.40%", index, LM11, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM11", index, LM11, index - 10, LM11, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM23h", "\t" + "23.00%", index, HM23, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM23", index, HM23, index - 10, HM23, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM23h", "\t" + "23.00%", index, LM23, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM23", index, LM23, index - 10, LM23, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM38h", "\t" + "38.00%", index, HM38, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM38", index, HM38, index - 10, HM38, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM38h", "\t" + "38.00%", index, LM38, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM38", index, LM38, index - 10, LM38, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM50h", "\t" + "50.00%", index, HM50, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM50", index, HM50, index - 10, HM50, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM50h", "\t" + "50.00%", index, LM50, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM50", index, LM50, index - 10, LM50, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM61h", "\t" + "61.80%", index, HM61, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM61", index, HM61, index - 10, HM61, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM61h", "\t" + "61.80%", index, LM61, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM61", index, LM61, index - 10, LM61, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM76h", "\t" + "76.40%", index, HM76, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM76", index, HM76, index - 10, HM76, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM76h", "\t" + "76.40%", index, LM76, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM76", index, LM76, index - 10, LM76, Colors.Red, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("HM88h", "\t" + "88.60%", index, HM88, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.DeepSkyBlue);             ChartObjects.DrawLine("HM88", index, HM88, index - 10, HM88, Colors.DeepSkyBlue, 1, LineStyle.DotsVeryRare);             ChartObjects.DrawText("LM88h", "\t" + "88.60%", index, LM88, VerticalAlignment.Top, HorizontalAlignment.Right, Colors.Red);             ChartObjects.DrawLine("LM88", index, LM88, index - 10, LM88, Colors.Red, 1, LineStyle.DotsVeryRare);  

Last Forum Posts

@cTrader and cAlgo use an excesive amount of memory:  09 May 2016, 18:35


This MEMORY LEAK problem is terrible.

I notice it more on cAlgo then on cTrader but both running at the same time it's a waist of resources.

Just cAlgo alone will eat most of the RAM on a powerful PC.

Please fix this issue fast!

Patch it.

@Drawing objects in the main chart:  26 Feb 2016, 22:36


Hi,

I'm building an indicator and I need to draw a semi-opaque rectangle in the main chart window.

We can draw text, or unicode characters and lines but is it possible to draw a rectangle or something similar to the Ichimoku Cloud in the main chart window?

Thanks in advance.

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
free  04 Feb 2016
This MACD Histogram with Colors indicator allows you to set colors for both positive and negative values of the Histogram. Based on the original MACD Histogram indicator from cTrade. v2 + Adaptive (auto-color): Allows the option to display adaptive auto-colors changing according the trend. + Verbose: Allows the option to display the current Long or Short cycle and it's value. v1 Public release
free  04 Feb 2016
This MACD Crossover with Colors indicator allows you to set colors for both positive and negative values of the Histogram. Based on the original MACD Crossover indicator from cTrade. v2 + Adaptive (auto-color): Allows the option to display adaptive auto-colors changing according the trend. + Verbose: Allows the option to display the current Long or Short cycle and it's value. v1 Public release    
Bulls and Bears (v2)
  3
  5
  3807
free  04 Feb 2016
This Bulls and Bears indicator consolidates the Bulls and Bears Power sample indicators in one indicator. Based on the original Bulls and Bears Power sample indicators from cTrade. v2 + Verbose: Allows the option to display the current values of Bulls and Bears. v1 Public release  
Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.