| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #9 | ||
![]() | Re: Maximum Value in Array if Condition is True Quote:
so I won't bother either.
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #10 | ||
![]() | Re: Maximum Value in Array if Condition is True this is a technical problem i am doing my best to describe...it is not an ethical problem... if someone knows how it can be resolved and wants to do it can post a solution... i think that this is only a matter of a certain structure of the array in a coupple of lines.. it can be viewed as a general routine (tutorial) in arrays because the conditions i am describing in the code can be replaced by any condition and the value assigned in the array by any value... the benefit of this structure is isolating specific conditional instances within a more general condition without refering to bars back.... every time the counter = 1 the array slot will be filled with any desired value as long a the first general condition is true.... the counter doesnot have a fixed length so the array is filled in terms of length assymetrically... thus you can get an assymetric n = (array size) moving average for example of highs everytime rsi crosses over 70 ( this is not what i am after anyway) or anything else you can imagine of practical use... so far everything works fine exept the fact that untill in the current run of the general condition , the occurances reach the size of the arrray, the array is bringing forward values from the previous run of the general condition... regards | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |