Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
In woodies Cci system there is 3 minute timer used to make trades. He uses 3 min bars. If the condition is met the trade is made with 20 secs left on the timer
When using tick aggregation, let's say 133 ticks per bar, a tick counter would let you know how many ticks were left before the bar closes, it could be used to pull the trigger if the condition looked for is met, for example early entry on cci breaking 45 after 100
Ticks
I was hoping you might be able to guide me or tell me what to add to the code below to have the SMA green on incline and red on flat or decline, with the option of being able to turn colorizing off and have it be a chosen color. In other words my 100, 200 SMA i want to be a chosen color while the 50 SMA I want to change colors depending on direction. Below is the default thinkscript for the SMA
Hi,
after you copy the above code to another study, and give it a name, say, myColoredDailySMA, replace the line in red with below line..should do the trick.. then add as many studies as you need SMA's to the chart.. use the built-in SMA for the non-colored SMA's (choose the color from study settings) and your new custom study for the colored ones..
all you need is a quick change of the average formula line into "expaverage" instead of the simple "average". i also changed the variable name to go with that..
sorry if i can't test this as you know but it should work.. paste the below code into a new study, and call it anything, like MyDailyEMA .. hope this works
Thanks for the effort to put up the code.
I wanted to change up the color, though I could go in and change the code for the color to a default, such as:
DailyEMA.AssignValueColor(if DailyEMA > DailyEMA[1] then dark_green else color. dark_red);
is there a simple way to make that a selectable color for the two colors? I find there is too much red and green employed elsewhere in the chart, so it makes the EMA too similar to other indicators, making it difficult to differentiate between them.