Welcome to the Traders Laboratory.

Coding Forum Collaborate, receive help, or discuss indicators and other coding-related topics

Reply
Old 01-05-2015, 01:21 AM   #1

Join Date: Jan 2015
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Amibroker Coding HHV and LLV Color

I want candle bar HHV20 >> Green Color until LLV10 >>Red Color (Example in attachments file)

How is coding write

THANK YOU
Attached Thumbnails
Amibroker Coding HHV and LLV Color-stocks.png  
browny.m is offline  
Reply With Quote
Old 05-22-2016, 07:50 PM   #2

Join Date: Sep 2008
Location: Singapore
Posts: 6
Ignore this user

Thanks: 1
Thanked 1 Time in 1 Post

Re: Amibroker Coding HHV and LLV Color

Quote:
Originally Posted by browny.m »
I want candle bar HHV20 >> Green Color until LLV10 >>Red Color (Example in attachments file)

How is coding write

THANK YOU
PHP Code:
//**** Created by Kelvinhand ****
HHV(H20);
LLV(L10);

Plot(a""colorYellow);
Plot(b""colorYellow);

aaCross(H,Ref(a, -1));
bbCross(L,ref(b, -1));
aaa BarsSince(aa);
bbb BarsSince(bb);

clr IIf(aaa<bbbcolorGreencolorOrange); 
    
SetBarFillColorclr); 
PlotC""clrstyleCandle); 
KelvinHand is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Data Box Background Color, and Indicator Name Color? CBladen Open E Cry 0 12-08-2011 12:56 PM
Set Background Color aaa Coding Forum 2 05-29-2010 09:56 AM
Amibroker Coding Question skanker Coding Forum 0 03-03-2010 04:20 PM
Help Detecting Color Changes in MA (TS) ephi144 Coding Forum 2 11-25-2008 09:31 AM
Help with Some Lin Reg Curve Color Coding - MQL4 to TS turboscottomatic Coding Forum 3 05-19-2008 08:27 AM

All times are GMT -4. The time now is 06:28 AM.
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
2006-2011 Traders Laboratory, All Rights Reserved.