5X10 ema Candle Color - candlestick-chart

I only want to highlight the first green candle which closes above the 5ema & 10ema golden cross and the first red candle which closes below 5ema & 10ema death cross. I am not interested in other candles which follow the first one, until the next 5&10ema cross-up or down?
Could anyone help avoid highlighting several candle?

Related

how can i control animation using big-bang so it loops

does anyone know how i can write a function for big-bang which basically loops an animation.for my task i have an animation of a car which currently goes from left to right but ends when it touches the right hand side,however,i want it to repeat itself so it continuesly goes left to right back to left and right non-stop.this is the excerise description
Exercise 45. Design a “virtual cat” world program that continuously moves the cat from left to right. Let’s call it cat-prog and let’s assume it consumes the starting position of the cat. Furthermore, make the cat move three pixels per clock tick. Whenever the cat disappears on the right, it reappears on the left. You may wish to read up on the modulo function.
i dont understand how the modulo function would be used here can someone explain
; WorldState - Image
; places the cat into the BACKGROUND scene,
; according to the given world state
;when the cat dissapears on the right it reappears on the left
(define (render cw)
(place-image CAT cw X-CAT background))

Tableau bar chart - how to color each bar different

I have a vertical bar chart plotting sales figures by age ranges (15-20, 20-25 etc).
Currently, all ten bars I have are blue in color.
For purely aesthetic purposes, I would like to make each bar either a different color entirely (probably too outlandish though), or a different shade of blue. Can either/both of these be done?
Yes, both can be done. You can achieve this if you drag the 'measure values' onto the color shelf. You can then edit the colors so all the other measures are one color or you also select single color with different shades.
Hope this is what you are after, but if not please post back.

From a CSS perspective, what state is an input button in when you click, hold down for a second and then drag away?

Above you have a button in 3 states, normal, hover, and then what is the third state called? What would need to put into my CSS to style this?
The button seems to be in this state after a right click too.
Really simple probably, I know, but I can't figure it out.
The state you are looking for is the focus state
There are actually 4 states in the GIF you presented
Normal (light pink)
Hover (darker pink, mouse is hovering)
Active (when you are still holding on, but dragging away)
Focus (not pink anymore but still focused with blue rectangle)
Cannot replicate your gif exactly, but here is a JSFIDDLE demonstrating these 4 states.

How to prevent my text inside my <TD> part of the table from wrapping (shifting) when browser zooms in/out?

I have a table where I want to display the paragraph exactly as it is, whether the browser zooms in or not. For example, in the image below:
The last line of the first paragraph should always end with "suddenly she was going back with this guy." and the last line of the second paragraph should just consist of that final one word, "back.". I want it to stay this way because I want to later add a column to the left that consists of line numbers.
What happens now is that when I do a Web browser (Google Chrome) zoom in or zoom out, the words tend to shift and wrap over to the next line, thus destroying the constant state of the paragraphs.
<table>
<tbody>
<tr>
<td width="422px">
<p style="text-align: justify; font-size: medium; font-family: 'Century Gothic',futura;">My biking beginnings can be summed up in two words: teenage love. My first girlfriend was small with mousy blonde hair and I was mad about her. Our romance came to an abrupt end however, when she started going out with another guy in my hometown, Crieff. He rode a 50 cc road bike first and then a 125. And whereas I had always walked my girlfriend home, suddenly she was going back with this guy.</p>
<p style="text-align: justify; font-size: medium; font-family: 'Century Gothic',futura;">I was nearly sixteen by then and already heartbroken. Then one day, on the way back from a shopping trip to Perth with my mum, we passed Buchan's, the local bike shop. I urged my mother to stop the car. I got out, walked up the short hill to the shop and pressed my nose to the window. There was a light blue 50cc bike on display right at the front of the shop. I didn't know what make it was, or if it was any good. Such trivialities were irrelevant to me. All I knew was that I could get it in three or four months time when I was sixteen and allowed to ride it. Maybe I could even get my girlfriend back.</p>
</td>
</tr>
</tbody>
</table>
You can use white-space: pre style for paragraph, but your text should be divided into lines. Now you have each paragraph in single line.
Sample: http://jsfiddle.net/LD3uC/1/

Intuitive way of understanding hexadecimal html color codes?

Is there an intuitive way, or a good mnemonic, for understanding the correspondence between colors and their hexadecimal values?
You just have to remember that the scale is 00 (no color effect) through FF (full color effect) and the three parts of the triplet are red, green and blue.
000000 is black (i.e., no color) and FFFFFF is white (mixing all three primary colors).
The hard bit is remembering the mixtures, which I use the following mnemonics for:
Really good yams: Red + Green = Yellow (potatoes are my favorite food).
Really bad prunes: Red + Blue = Purple (I really hate prunes).
Good/bad apples: Green + Blue = Aqua (I'm indifferent about apples).
Obviously, you may have to come up with your own mnemonics if you food tastes differ from mine. But I find that's the easiest way for me.
Then it's just a matter of varying the quantities to add a little more red or little less blue and so on. I generally only use values of 00, 40, 80, C0 and FF since that gives you a 125-color palette to choose from and I don't want an abundance of choices to slow me down.
You need to get your head around three distinct things here.
Reading and writing numbers in hexadecimal. This just takes practice and familiarizing yourself with it. Color codes range from 00 (zero) through FF (= 255), so spend a little time (using calc.exe in Scientific mode, maybe?) picking a number and trying to guess what it'll be in hex, and vice versa. Counting in decimal is probably second nature to you; counting in hex is the same concept, with different symbols and rules.
How to read an RGB colour code as three component values. RGB codes are either written as three digits (#FFF) or six (#FFFFFF). In the first case, each digit is a single colour component; red, green, then blue. 0 = empty, F = 'full' (maximum). The second is the same but the additional digit gives you a much wider range of tones because you have 256 possible intensities for each component instead of 16.
Knowing the RGB colour model. Your primary colours are red, green and blue. Your secondary colours are yellow (R+G), magenta (R+B) and cyan (G+B). Increasing all the values makes the colour lighter; decreasing them all makes it darker. Pure greyscales will have three equal components - e.g. #ddd, #222. Tint greys by nudging one of the colour values up a bit - #866 will give you a dark grey with a hint of red. This bit you just have to learn through experience. Play with it. Get a tool like Instant Eyedropper and use it to find the hex values of known colours.
Getting it exactly right is very, very hard, but it won't take more than a couple of days before you can say "right... I want orange, which is somewhere between red (#F00) and yellow (#FF0) on the colour wheel, so let's try splitting the difference and use #F90... hmm, bit dark, so let's nudge the G and B components up a bit... #FA2... got it!"
Just think of it as mixing paint.
There are the three components RR, GG, BB, (RRGGBB) which can be mixed with different strengths. Remember that 00 is lowest strength, and ff is highest.
For example, we know that 000000 will be low strength on all colors and will be black. Likewise, ffffff is highest on all three color components, and will be white.
You can add or remove color by making one part stronger or weaker. For example, start with black 000000, and add a little red as 330000, or add a little blue with 000033. Add both and see what happens 330033.
Add a LOT of red, with ff0000. Or add a medium amount of green for 006600.
If all three components are close to the same strength, they cancel each other out and you have grayscale, which will be light or dark depending on the strength of the colors. So 000000, 333333, 666666, 999999, and ffffff are black, dark greys, ligher grays, and white.
If you take a medium gray, and add a little blue, you end up with a bluish grey, like 888899. Red, green, and blue almost equal, so almost grey, but with a bit more blue. You can experiment with them a bit.
One really great tool for viewing color codes is this (small and free):
http://www.nattyware.com/pixie.html
Hope that helps!
I'm not sure what you mean, but I always remember that it is an RGB colour: The first two digits are for red, the second pair is for green and the las ones are for blue.
like this: #RRGGBB
And of course trying to remember that lower numbers give darker coulours.
If you are looking for some way to remember the colour code for orange, I'm afraid you are out of luck. I always need to look that one up...
Hexadecimal colours are of the form #RRGGBB where RR is red, GG is green and BB is blue. Since they're hexadecimal they range from 00-FF. It should be fairly easy from that to gauge roughly what kind of colour you're dealing with for example #FF12A3 is going to be fairly red.
Break the colour up into a triplet of values that represent red, green and blue. The higher the hex value in each segment then the more of that colour there is. So #000000 is black, #FF0000 is all red, #FF00FF is purple etc.
I think it's useful to get a good HTML color chart and keep it by your desk. I like the Visibone mouse pads and posters.
Remember:
1) The order of the hex-pairs are Red, Green and Blue. This is easy to remember since we aften talk about RGB-color, RGB screens and so on.
2) The numbers should interpreted as the amount of light in the color. So 00 is no light, while FF is maximum light in that color.
3) I all three colors are of the same level, they "cancel each other out", so we get a greyscale color. 00 is minimum light, så if all three colors are 00 we get no light - ie. black. If all three colors are max-light (#FFFFFF) we get white, Any number in between is grey.
Well, monitors use an 'RGB' colorscheme. The order of the colors in the hexadecimal number is RRGGBB. So just remembering the name of the colorscheme tells you what goes where. Then you can parse the #RRGGBB as three numbers RR, GG and BB.
The higher the number the brighter that particular component.
Then you just need to remember the additive color wheel from grade school. ;)
I manage to create colors intuitively now (with some trial and error, of course), having practiced them a lot. Playing/using color mixers (with red/green/blue sliders for example) helps in understanding relationships. Now, I know that FFFF00 is yellow, FF00FF is magenta, 00FFFF is cyan, plus of course primary colors, and all others colors are in between.