Page 1 of 1

Beginner needs help

PostPosted: Mon Oct 10, 2016 5:34 am
by rooky06
Hello
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.
https://ovo.cz/products/offline-charts-for-mt4/point-original-bars/

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.

Re: Beginner needs help

PostPosted: Wed Oct 12, 2016 3:11 am
by Apprentice
Renko_candles.lua
(9.55 KiB) Downloaded 1018 times

Renko_candles.lua.rc
(4.6 KiB) Downloaded 931 times


Try to study on renko example.

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

You willl get first tick with if you use index 1.
source[1];

Re: Beginner needs help

PostPosted: Wed Oct 12, 2016 4:06 am
by rooky06
thank you
I go to learn it
But i got a problem
I downloaded and install renko2 (http://23.62.344a.static.theplanet.com/code/viewtopic.php?f=17&t=2360&start=0)
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: