Posts

Program formula language

Image
      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

Image
  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

Image
 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...