PureBytes Links
Trading Reference Links
|
Hi Eric,
How about some thing like;
if con 1 = true then
count = count +1
if con 2 = true then
count = count +1
etc.
if count >= 4 then begin
plot a dot
count=0
end
Larry
ericzhou wrote:
>
> Hi list,
>
> Does anyone have idea on coding this:
> To count the number of criteriias that have been met at the last bar.
> for example, if any four conditions out of six become true, plot a dot or
> paintbar.
>
> Any suggestion will be much appreciated.
>
> Eric
|