question about neuron network

 

hallo .

i have a basic problem .

for start neuron parameter i need for example

a b c parameter . now after condition i will get d and e .

let say a b c is close[1] ma(50) ma(20)

d is parameter i will get after close candle > a point .

so it could be after n (maybe 1 2 or 30) bars or will not at all .

how do i connect all together?

my scema is like this a + b + c

cobdition(a,b,c) + d

output (0,1)

Reason: