For now the closest resemblance of a image I have in my mind that was on another software website first page. Of course as expected I left everything else to do this and now the program has a plotfill function which fills the area between two plots. Its able to do two colours as well, and the idea is to be able to fill the area between two indicators or a number and an indicator or even two numbers with whatever colour the user wants. Useful for example for oscillators. Regarding my work at the speed improvement it was not required in the first place as, as I was mentioning in a funny previous posts, the entire fault for the slowness is the histogram chart. The user can use area charts as well if it really needs to load >10000 bars. The histogram slows the zooming, that as a known fact of this program and so it will remain. So I`m back to where I started the previous week and to that version as its fine as is. There were times as I made this program...
Posts
Showing posts from September, 2025
I just found out something horrifying
- Get link
- X
- Other Apps
Its the histogram, the solely reason for that 3 seconds slowness was the histogram. So I wasted 1 week. Still though my ideas were not bad, i wonder if I should keep them at least the one that is already made, not the one from today which is to much I tried to do the bar chart but could not even plot it to many paths to much data to many numbers, its true I tried in a hurry mode just to check, didn`t work. Besides I already know its better but does it worth it? Its a question I`m thing at now and I`m also thinking to give up as its the histogram fault. I don`t know what to do with that there`s only one way to draw a histogram from value to zero. Actually it isn`t the zooming of the histogram its the painting of histogram which slowed down. I`m back where I started
I was right
- Get link
- X
- Other Apps
Right about the fact that a 8 point path is much slower than a 2 points path. As I was playing Hero's 6 to relax a bit, I decided to check it so since its a turn base strategy game that was what I did as every now and then I moved my hand from the mouse of this computer on which I play Heroes and write in this blog, yes I`ve reinstalled windows and I`m still clicking on porn every now and then but aside that as I was saying I moved my hand on the other mouse and with a quick gesture not to spoil my strategy game to much I removed from a formula the line which plotted a histogram which is now, after the last new idea of improving speed made by 6 points path (bad idea) because as I was scrolling the chart after loadig this formula I noticed that unlike yesterday when this histogram made of 6 points was not ready and the images all show line plots which are made of 2 points there is it it went up above 1 second when I reached >24 thousand bars zoomed. So I was right...
..one day
- Get link
- X
- Other Apps
...sure. That one day from yesterday post was/is today. The program is far from being finished however I permanently got new ideas while doing one thing and I just woke up feeling more attracted to work on the new idea than at the program as is. So today after I finished with the other stuff, that was fixing all the paths according to the previous new idea of improving the sped of painting the chart which worked as can be seen in the previous post, today I`m working at the new idea of implementing a new plot function called plotfill(...parameters...) . This function will paint the area between two other plots or a plot and a number or just a variable that is not plotted and another variable (all combinations). Just to not forget the idea and have it there as is not that difficult, Unless I miss something, but I guess its going to work. And just as I was writing this post, just now right now, I got this another new idea on top on the old new idea but this ...
- Get link
- X
- Other Apps
Speaking of that image on a professional software website which was a very nice rainbow of colours, one day I have to check how it was made because it was not like this for sure. I guess the area between two moving averages was filled with some pattern brushes or something, anyhow speaking of which one day I`ll also have to add another type of plot (if I can) that is exactly this to fill the area between two plots with some colour or mix of colours. I`ve already done something similar a long time ago that was filling the area between two trend lines or a channel, a long time ago while I was learning, hmm that`s not good I still am learning, for example right now I wonder if there`s another way to paint the chart faster and I`m quite sure I`ve missed some things, quite many actually. As a matter a fact I`m just to severe with my beautiful program as I tend to compare it with one of the best ever made (my opinion) and that one was not made in a script and not made whi...
Unfinished work
- Get link
- X
- Other Apps
Part of the work at increasing the sped of zooming huge number of bars (quite useless but professional), actually just decreasing the time that it takes to pain the graphic of so many bars crowded in to one image, I`ve managed to do quite well apparently. While the work is only half ready as while for price I`ve done all types of charts (bar, candle, line, area) for the indicators only line chart plots were done (there are still histogram, dashed and area types not ready to this stage) which is why in these pictures all plots of indicators use line plots unlike in previous post with the sped of zooming, I had to check if its actually an improvement and here`s what I found (the code is not tuned yet, can very slightly be improved even more from here but not by much). Its definitely faster, I`ve managed to get under 1 second even if not by much. The painting job is much faster but this code slightly increases other parts of the zooming...
A few days later
- Get link
- X
- Other Apps
As I was saying in the previous post, the painting of the chart or what you actually see on the screen was very slow when it had to paint huge amounts of data like 30000 bars together with all the plots and the entire graphical image. So I decided to improve it so here I am after 4 days ready with testing the new idea. Did it work, well yes, it worked and the idea is good, the painting time went from 2-3 seconds to 0.7-1.4 seconds which is significantly faster, still a bit slow I was expecting a permanent under 1 second but it is better no doubt about it. It can also be slightly better with a bit of code tuning hence I will proceed with the idea. why do I need to proceed with the idea well it is because while I did manage to increase the speed I also manage to spoil the paths, meaning that this idea does not match with the way the rest of the zooming code was made and now everything is either displaced either slightly not aligned and its a mess. Of course it i...
- Get link
- X
- Other Apps
And this is how its actually looking, the speed of zooming. When it reaches almost 30 thousands bars visible the painting job takes 3.276 seconds, and that makes a sluggish zooming at that number of bars. The rest are fine the time increases slightly at number 2 as well but nothing concerning just a bit slower. The difference without the painting job, number 9) form zooming around 1000 bars and zooming around 30000 bars is insignificant from 218 ms to 400 ms that's barely significant it does not feel sluggish however the actual painting job destroys it...for now which is the last major issue I`m trying to fix until calling this program a technical analysis software for good. I also plan to selling it even if it only works on previous versions of windows. Its very handy and useful for someone willing to trade and invest peacefully and run his own trading and investing business.
So whats with the blog, why now?
- Get link
- X
- Other Apps
The answer to that is, its all falling to place. The entire program is fully functional flawless working machine. At the flawless part I still got to work and a lot but its as it should be. And that took a lot of time because over time I got stumbling to all sort of issues and being a complete newbie to creating a program I had to find solutions to all all by myself without the tiniest help from anyone ever. Believe me when you try to make a program everything must work like the tiny wheels of a machinery and it proved that this kind of software isn`t among the simplest types of software, at least not to me, wasn`t. When it all fall to place and I knew its ready and will be functional was this summer, then I got myself in the the job of painting my walls in the house. Now its all a matter of getting it ready or finish it and of course improving what can be improved. As for example right now I`m back to the huge dat...
- Get link
- X
- Other Apps
And as I sit thinking what to do to this program as there are still many things to do, things that are not that obvious but matter, every now and then it occurs to me something new is required. In this case, as I was checking a function I noticed that the indicator I built using formula language of the program and which is MACD is not as it should. The histogram is that of MACD but the signal should be a simple average of it and the histogram should be the difference signal-macd. I built it just to test the functionality of the programming engine so it really not mattered its not proper. So, here`s me wishing to modify it then I realize the code in the editor is very crowdy and difficult to modify so I was thinning how about a new font which is a bit more easy for the eye as a start, and from here why not a font chose option and thats how it goes all the time, adding and removing features, doing a thing and getting another idea sometimes not related at all, this one...
A truly commercial like technical analysis software
- Get link
- X
- Other Apps
I know a technical analysis software which had a book of 400 pages as alternative to user manual. If I were to think what else well, the user manual describing in detail how to use the program. I made the program so I don`t feel to read anything to find out how it works for me fells natural but now it occurs to me that while I know everything of it, someone else does not. Its true I tried to make some fast help user friendly in the log and each window except the chart window has a question mark in the title bar which if its pressed the log window appears and a short description of what that window does is displayed but its far from being enough. Maybe for someone used with this kind of software a detailed help would not be required but for someone new I think a help manual would be great. That I will surely not do at least not in the close future. So if you have used before a charting program like there are so many: Tradestation, Metatrader, Meta...
What else?
- Get link
- X
- Other Apps
To what else and small things category:1) The area chart needs two colours, the price if its represented as area can be painted in a gradient 2 colours but the indicators not (not yet, besides I got to work a bit on the price area chart colours as well) 2)Symbol information window (its not in this picture) does not show start and end dates and the number of bars in a database file. Likely because I made it on a EOD symbol and this has two intraday timeframes. 3) As of right now nothing else to pesky little things even if I`m sure I just don`t figure anything else right now To serious work, I have to rewrite all functions then I have to make the Verify formula in formula editor, I would also like to make a coloured formula editor meaning to colour functions and characters like any serious editor of code does but I got no idea how to do it now and its no big deal anyway. Then...then I have to add encryption to it then I have to take out a lot of th...
Background gradient type
- Get link
- X
- Other Apps
Trying to combine the background gradient type can give mesmerizing results. Of course its time consuming to find a nice background for the chart usually I use Vertical gradient type size 1/1 and chose two colours for the gradient (4 colours can be used as you see theres gradient even with 2 colours and gradient odd with two colours). In the case from the picture above I just changed the gradient type to horizontal and made it a size of 10/3, interesting result, no really useful as I more se the gradient than the prices but its interesting
- Get link
- X
- Other Apps
As I was complaining in a previous post about the colours and the many brushes and pencils which sometimes do not match, yesterday, without being in the mood to do serious things, alongside with doing some modifications to buttons and other tiny things but not definitive I got this brilliant idea of opposite best fit colour. This idea solved all colour issues. What it means? Well in some places the colour which is drawn on top of a colour that the user choses as a theme in the chart had to be chosen from the other available colours in the theme, because I did not made a button for all tiny things for example the colour for the text of the price or indicator labels, or the text colour for the title bar, or the colour of the scroll graphic those can not be chosen. So instead of adding a button for each of those and possible in the future finding something which again would require the same thing, and because adding a new button requires quite a wor...
A memory hog
- Get link
- X
- Other Apps
This one to known issues. 10000 bars 1 minute loading time until chart is ready and 260 mega bytes of memory occupied. Thats a lot from what I can figure it out and is huge as compared with the professional Amibroker I have which does not load any memory or less than a few mega bytes. Where does it come from? It comes from the fact this program loads and holds everything in the memory. As a beginner of course it was the way I started to make it years ago and since this one its quite a complex thing the memory issue was never a priority. Its fine like this there are many other programs that are like this one for example Ninjatrader its more or less equivalent with this one ant those are professionals and many (I suppose) and I`m alone so its fine. Like I said it is like (almost) any other program with some being much better in some ways like Amibroker is and others being quite close slightly better. Regarding memory issue I suppose its a matter of...
- Get link
- X
- Other Apps
Work from the previous post that I planned, I`m editing this, was not in the mood to write anything in this post but I`ve changed my mind. I have changed a few things since previous days posts, as I was saying the programming language is flawless now before it had a few small inconvenients and while doing that I also changed some functions for example now the function color is colorif and the user can chose to use it or not in plot functions. Its used in plot functions only if two colours depending on a condition is used for the plot. That can be seen in the formula from the image on the last line which is a plottext line and which draws the text with "buy" and "sell" on the chart. There is only 1 statement with plot text function but the text is drawn in 2 colours thanks to the colorif function. Same way can be used in plotOHLC function or plot function There are still many things to do on this program, I have not discovered ...
Program formula language
- Get link
- X
- Other Apps
As I mentioned in a previous post the formula language is array based. Almost all functions work on array and return an array as result. Using the available functions the user can write his own studies/indicators to perform simple or more complex calculations. More complex calculations can be performed by using the conditional statement iif ( expresion to evaluate, case true, case false ) which is also know as the ternary operator in old programming languages or -if then else statement- found in most programming languages. Aside from iif statement to perform more complex calculations a user can assign an array to a variable which can me then reused anywhere in the program. This variable will be an array as well . For example the function sma(close,20) calculates a simple moving average of the close price but if you want to reuse it in other calculation will be more simple to assing a shorter variable to reffer to it. So you would say vrb1 : sma(c...
Program windows
- Get link
- X
- Other Apps
The program has 5 windows plus chart window: Log window, Database window. Fromula editor window, Import window and program configuration window. As I was saying in a previous post I really wished to make that scanner as well but the entire code must be modified and rewritten as I made it for another version and I`m not in the mood to do anything now. What each window does? On short: Log window is supposed to give the user information about how the program is working, like a help file as each window has a question mark next to the x button if the user press it log window will appear and a description on what that window does appears. Of course its not ready yet Im to lazy to do these minor things and requires attention and mood. Other than that the log window was/still is intended to work as a descriptor of what the program is doing at a certain moment but as you can imagine for the moment I skipped the program lines that send that information so I would have to take ...
Chart themes
- Get link
- X
- Other Apps
These were actually ready about 2 years ago so what did I do 2 years, the answer is things you don`t see. This program is very complex and without being a programmer or for that matter having anything to do with the programming world things were not that simple. To make everything work together, work smooth and be functional is harder than you think, if then else, everyone knows but when it comes to actually make something like this I doubt the same if then else theorem apply. At the end, its actually even harder because you got to think at everything together and be careful not to spoil something while making something else, and when I look at it and check Windows 11 which has blocked the executable made with this scripting language I lose the mood to finish it, maybe they blocked the executable because some are using it to hack windows or whatever I don`t really care about the reasons it might be with a good reason, you know, from what I have figure it out they seem to steal fro...