Beginner needs help

Moderator: admin

Beginner needs help

Postby rooky06 » Mon Oct 10, 2016 5:34 am

I'm beginner (in english too ( je suis français) but google is my friend ;-) )

I would build an indicator as renko but do not expect a reversal of 2x the size of the brick to be displayed on FXCM MarketScope in a separate window as little see here.

First I need to know how to catch the first historical tick posted on the tick chart to build my graph on the past.
Then I need to know how to display a new value of my flag every time the size of my brick is reached (I live to make a line for close, one for Open, one for low and finally one to high)

I want an indicator because I want to use it to trade in live.

I do not know to do it because i do not know lua. I know only delphi (pascal)

I need your help.
Thank you.
Posts: 3
Joined: Mon Oct 10, 2016 5:09 am

Re: Beginner needs help

Postby Apprentice » Wed Oct 12, 2016 3:11 am

(9.55 KiB) Downloaded 205 times

(4.6 KiB) Downloaded 150 times

Try to study on renko example.

for i = 1, s, 1 do
current = calcValue(current, i);

You willl get first tick with if you use index 1.
User avatar
FXCodeBase: Confirmed User
Posts: 18273
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Beginner needs help

Postby rooky06 » Wed Oct 12, 2016 4:06 am

thank you
I go to learn it
But i got a problem
I downloaded and install renko2 (
It works.
But When I drag and drop your renko_candles.lua it appears in dialogs boxes but when i whant to use it on chart it's not in the indicator list

EDIT : I m stupid... It's a view.. I have to learn more than I thought :oops: :oops: :oops:
Posts: 3
Joined: Mon Oct 10, 2016 5:09 am

Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 2 guests