hello traders , i need your help to create simple EA for 5 digit broker

if i drag EA to chart :

appear input box :

order : 0 for buy , 1 for sell

TP : i can set the pips value

Hedging : i can set the pips value for hedging ( if i order buy , so this EA will make pending order sell which pipstep that can input

if that order TP , so this EA will delete hedging pending order . and if pending order hedging opened first before TP , than TP at first order will be deleted

and i need magic number for this EA


thanks for your attention and your help