Custom candles

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Custom candles

Postby Alexander.Gettinger » Fri Feb 04, 2011 1:28 am

Indicator draw candles with custom timesize.
For example, 3000 second candles picture:
CustomCandles.png


Parameters [Time frame to calculate] and [Max. bars on chart] needs for optimization of the calculations, because when use tick data indicator can be calculated long.

Download:
CustomCandles.lua
(6.93 KiB) Downloaded 1064 times


The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Custom candles

Postby Alexander.Gettinger » Fri Feb 04, 2011 1:30 am

Other version of indicator draw candles in additional chart.

CustomCandles2.png


Download:
CustomCandles2.lua
(6.88 KiB) Downloaded 930 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Custom candles

Postby Forexlooser » Fri Feb 04, 2011 9:43 am

Hello Alex, thank you for this nice Indicator.

Can you create a Multi-Tick Chart ?

Also draw a Candel about 100 or 200 Ticks, not seconds.

Thank you and bye

andy
Forexlooser
 
Posts: 2
Joined: Fri Feb 04, 2011 9:11 am
Location: Germany, near Koblenz

Re: Custom candles

Postby Alexander.Gettinger » Fri Feb 04, 2011 8:38 pm

Forexlooser wrote:Can you create a Multi-Tick Chart ?
andy


I work on this now.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Custom candles

Postby alextrade » Sat Feb 05, 2011 12:49 pm

Hi Alex, i was also wondering if you can create a tick chart and show it counting down on the screen, at present i use 1 minute bar candles for my entries but could really do with a 90 tick chart like you can get from tradestation,many thanks.
Alex M
alextrade
 
Posts: 10
Joined: Sat Feb 05, 2011 12:39 pm

Re: Custom candles

Postby Alexander.Gettinger » Tue Feb 08, 2011 3:00 am

Forexlooser wrote:Can you create a Multi-Tick Chart ?
andy


Please see this indicator: viewtopic.php?f=17&t=3347
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Custom candles

Postby alextrade » Tue Feb 08, 2011 4:34 am

Hi Alex , this is perfect exactly what i need, do you no if it is possible to create a entry box when you trade from the charts. i trade in multiples of 3 and i scale out at 15pips 30 pips and 45pips for my targets, so instead of having to enter 3 separate enrtys would it be possible to create a pop up box that you enter your order e.g. ENTRY STOP LIMIT
1 130.00 129.80 130.15
2 130.00 129.80 130.30
3 130.00 129.80 130.45
this would just make life easy and quicker when entering orders, not sure if it can be done but thanks anyway :)
Alex M.
alextrade
 
Posts: 10
Joined: Sat Feb 05, 2011 12:39 pm

Re: Custom candles

Postby Alexander.Gettinger » Wed Feb 09, 2011 3:58 am

Do you can show picture to I understand what do you want?
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Custom candles

Postby alextrade » Wed Feb 09, 2011 12:07 pm

If you right click on the charts you go to ORDER ENTRY a box appears i need to modify that box or create a indicator to take 3 orders at 1 time allowing me also to enter a stop loss 3 times and a limit 3 times so that when i make a trade it will take profit at 3 different levels basically the trade will be on auto pilot. i can email you a script for exactly what i want but it is coded for MT4 would this be any help? if so can you provide an email i can send to.. thanks again Alex.

Alex M
alextrade
 
Posts: 10
Joined: Sat Feb 05, 2011 12:39 pm

Re: Custom candles

Postby 030985 » Fri Apr 27, 2012 10:00 am

Hello,

I was trying this indicator but I do not manage to make it work. This is the error I get when trying to launch it :
"An error occurred during the calculation of the indicator 'CUSTOMCANDLES'. The error details: [string "CustomCandles.lua"]:234: [string "CustomCandles.lua"]:130: attempt to index field 'open' (a nil value)."
I tried with different charts but without success.

May someone know why is that ?

Thank you very much. ;)
030985
 
Posts: 56
Joined: Sun Apr 01, 2012 12:04 pm

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Majestic-12 [Bot] and 263 guests