how to use icustom for this indicator?

 

i want to create an expert that use dark bands indicator? but it is complicated. can any body helps?

first problem is icustom function.when i use 

iCustom(_Symbol,PERIOD_CURRENT,"Dark Bands MT5")

it works but i need complete dark bands variable in icustom. because i want to change the variables.so when  i write this code, it shows error:

iCustom(_Symbol,PERIOD_CURRENT,"Dark Bands MT5",1000,"",true,true,2,"",14,14,0,"","","",7,3,1,"",false,false,false,false,"","",2,5,5,2,5,5,true,false,false,true,false,false,true,true,true)

how i must write icustom for dark bands that be correct? 

another question. how to get stop loss an take a profit lines amounts.

Basic Principles - Trading Operations - MetaTrader 5 Help
  • www.metatrader5.com
Before you proceed to study the trade functions of the platform, you must have a clear understanding of the basic terms: order, deal and position...
 
tom standly:

i want to create an expert that use dark bands indicator? but it is complicated. can any body helps?

first problem is icustom function.when i use 

it works but i need complete dark bands variable in icustom. because i want to change the variables.so when  i write this code, it shows error:

how i must write icustom for dark bands that be correct? 

another question. how to get stop loss an take a profit lines amounts.

You need to provide more information.

A screenshot from the inputs of the indicator you are trying to load.

The error code you get from calling iCustom.

That would help for a start. - Probably more is needed.