Renko Basic modification
Author: misirlou
Creation Date: 5/25/2009 8:07 AM
profile picture

misirlou

#1
I am new in programing C#.
I am trying to modify "Renko Basic" strategy code: Instead of "rkoColumn.DirectionUp" condition in original code, I want to use conditioning with different numbers of bricks in trend for entering and exiting positions.

How to incorporate working "public int BricksInTrend { get; }" into the original code?

misirlou
profile picture

Cone

#2
The key is this statement: "They complete the properties for a Renko Column." It probably would have made better sense to introduce these Column properties following this description: public IDictionary<int, Renko> Columns;

Example -
CODE:
Please log in to see this code.
profile picture

misirlou

#3
Thank you.

I also had problem with compiling code
CODE:
Please log in to see this code.
.

Code
CODE:
Please log in to see this code.
is compiled succesfully.

Where can I quickly find, what all the symbols in C# means? ("==", "!", "++" etc.)
profile picture

Eugene

#4
QUOTE:
Where can I quickly find, what all the symbols in C# means? ("==", "!", "++" etc.)

In any beginner book or tutorial mentioned here:

Wealth-Lab 5 Wiki FAQ: How do I start with C# ?

You're assigning a number to the property (=) while your original intention was to test for equality (==):
CODE:
Please log in to see this code.

profile picture

misirlou

#5
This will help. Thank you very much.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).