I am so confused.. please help.
- Cycle indicators
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- Zig-Zag alert indicator
extern int Candle=480; extern int Length=4;iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT.mq4", candel, length, 0,shift);
iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT.mq4", candel, length, 0,shift);
iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT", candel, length, 0,shift);
iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT.mq4", candel, length, 0,shift);
I got the basic skeleton.
//+------------------------------------------------------------------+ //| sirwilliamszz.mq4 | //| Copyright © 2010, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright © 2010, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- //---- return(0); } //+------------------------------------------------------------------+
I got the basic skeleton.
No one knows exactly what you want the expert to have within its framework.
If you cant code it in its entirety then you may need to pay someone or learn to code. I'm not trying to be rude, just telling you the facts.
WHRoeder is basically showing you how to add your custom indicator into an EA using iCustom().
Do no use iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT.mq4", candel, length, 0,shift); with .mq4 inside.
Instead use iCustom(Symbol(),NULL, "ZIG ZAG NON REPAINT", candel, length, 0,shift);
Just like sergery noted :)