Auftrag beendet
Spezifikation
Hello everyone ,
as I am not a developer but what i am going to explain below I already did it easily in excel , here I am looking for to have 2 functions, where I can pass values and get back results , the result will be tested as comment &/or export as file (txt) in log directory
so let me explain the functions:
369 , tesla regular expression functions:
this function should be able to process :
1- Date+Time”Period_Frame”
2- Price only
example 1: Date time:
2021-05-02 6 AM =
2+0=(2) 2+1=(3) 2+3 = so the year equals (5 )
Month 0+5 =(5)
-------->Now we sum the year and the month (10) they are 2 digits , must be broken so 1+0 = 1
continue
Day 0+2 = (2)
Hour 0+6= (6)
now sum all 5+2= 7 + (6) = 9 . this date is required to be known date
, another example:
2020.11.06 | 6:00 AM |
but let me take it from right to left , 0+6 =6 & 6(hour) = 6(day) =12 again we break the result , 1+2 =(3) , now we have a single digit , we continue , 1+1 =(2)+ previous (3) =5 , 0+2=2 + previous 5=7 & 0+2 =2 +previous 7 = 9 ,, this is a chosen date to be reported.
the same should happen for price:
the most important is to be able to call the function pass the values for it get the result in an easy way , if you have restriction against the 256 characters comment number i have a work around i found it my self to drop as many as text character (comment) on the chart , so no robot here more than a function logic.
for the increment in case of the date is 1 day , datetime (date plus hours) based on the time frame if it is 1 hour then it will continue as much as the range the specified.
the 2 nd function is Circle , will be applied this time on 3 different (separate) inputs types (Price / Time / Date) , it should be a 2 way function:
the 1 st way it should work :
in excel I pass the price , i specify the increment for angel to control the radian increment which will affect my price level ,
the 2 nd way it should work:
i pass the start and end of the price (or time or date) it should calculate for me the increment value after dividing on my 25 levels
Please note that time/date always increase , but Price has 2 directions , up and down
the result should be printed as comment AND exported as txt/csv into the log directory
1- the functions should be easy explained
2- I should be able to clone it in same ea , so please explain to me what I need to change to make it happen.
3- if you can make one input to control the values (variables) change on the chart, I will continue to do it for the rest of other variable inputs.
4- I should be able to use the output time& date without any problems in my formulas , i.e. I am using iTime to get the current hours or date , but i have a problem when I am using it in the code if (iTime(Symbol(),PERIOD_M1,0) >= BalanceTop) {BalanceSignal = 1;}
I get iTime value as date like 2021.05.23 20:00:00 while my other formulas like 1621797632 , please advise what can i do with either of two values to be able to compare the current time & the formulas outputs
to recap , i had a good developer that gifted me RSI function to use it that way:
int RSIind = RSI(PERIOD_CURRENT,RSIprd,PRICE_MEDIAN,1);
I want to be able to pass my variables to your functions to get the results in that easy way