Ea chart display : //==================================chart display Text Managment ================================= EA Name : EA Name on this A/C Name : acount holder name A/C BALANCE : 150 $ // account balance OPEN TRADE : Buy:1 Sell: 5 // number of open trade total buy and sell open trade OPEN BUY LOT : 0.01 // NUMBER OF LOT OPEN IN BUY POSTION OPEN SELL LOT : 0.20 // NUMBER OF LOT OPEN IN SELL POSTION PROFIT /LOSS : RUNING... $ 20 / $ -20 // ( Profit show color Lime loss red ) PROFIT /LOSS : TODAY 50$/ -50$ // ( Profit show color Lime loss red ) PROFIT /LOSS : OVER ALL 50$/-50$ // ( Profit show color Lime loss red ) Drawdown Today : % 1.5%/ -1.5% // ( + lime color - red) Drawdown overall : % 3%/ -3% // ( + lime color - red) SPREAD : 2 pip Avg Daily range : show in pip // ( use D1 ATR indicator value ) Volume : 630 // (use the Volume indicator to show value red/lime color ) Trend Direction Current : TF +Up/Down color down(red) up (lime) + Buy only/ Sell only example : Trend : Current Down + Sell Trade only + Down Arrow Trend Direction main 1 : TF + Up/Down color down(red) up (lime) + Buy only/ Sell only example : Trend : H4+Curent UP +Buy only + Up Arrow Trend Direction main 2 : TF + Up/Down color down(red) up (lime) + Buy only/ Sell only example : Trend : D1+Curent UP +Buy only + Up Arrow Trend Direction main 3 : TF + Up/Down color down(red) up (lime) + Buy only/ Sell only example : Trend : W1+Curent UP +Buy only + Up Arrow License Expire : Date // this is show the date of expiry ea seller set in this ea copy close button in chart to 1 . profit only 2. close buy 3. close sell 4. close all //================================== End The Chart display ================================= //================================== Magic Number ================================= magic no zigzag :101 magic no MA :102 magic no RSI :103 magic no stoch :104 EA NAME : Zerotoheroscalper // comment of this robot name //================================== LICENSE Managment ================================= bool locked = false; //Use Expiry Date? string expired = "2023.7.18 23:59"; //Expiry Date bool account_lock = false; //Restrict to Account Number? int account_number = 0; //Enter Account Number 0 is work all Account bool allow_real = true; //Allow Real Account Trading ================================================================================== EA Input Setting : //================================== Lots Management ================================= Lots type : Fix Lot / dynamic lot // Defult dynamic lot means you can see the amount of equtiy trade as per lot dynamic lot Amount : 100 // exmaple use set 100$ every Equity ea open 0.01 lot if 200$ ea open 0.02 lot Lots:0.01 // defult is 0.01 fix lot Takeprofit: 10 // defult 10 pip u can set any also any pair in pip count like gold nas100 StopLoss : 100 // use sl i want u can use sl if 0 disbale and avg ture u can avg tp and sl calculated Over all profit : 10$ // if pip SPREAD : 4 ; // if SPREAD is higher than input ea not open any order //=========================================== Averaging =============================================================== pipset : Ture/false // ture follow the open new candle open entry in every new candle price in same signal direcation open On new Candle : Ture/false //means if user set ture open every new candle open potion in which signal active pending Order : ture/fasle // if ture see the last zigzag high low pending order Averaging : ture/fasle // defult is ture Avegraging gap/step :20 // Averaging this 1st buy and sell open next gap/desitance and step to grid order Traing Stop : 0 // not active //================================== martingal managment ================================= Martingal : ture/fasle // false martingal style :3 // 3 means every 3 same lot use martingal exmaple 0.01,0.01,0.01,0.02,0.02,0.02 lot multipler : 2.0 // muttipler //================================== Money Managment ================================= MM: True /False // ture u can use risk % to open the lot mm call money management rules are follow Risk : 0.01 // % in equity //================================== Daily Traget managemnet ================================= Daiy Traget : Ture/fasle // true u can see the daily profit set $ how much reach the profit than ea stop Daiy profit : 30$ usd // true u can see the daily profit set $ how much reach the profit than ea stop Daily traget :True/fasle // true u can see the daily Loss set $ how much reach the profit than ea stop Daiy loss : 60$ // true u can see the daily Loss set $ how much reach the profit than ea stop //================================== Entry Signal 1 ================================= Entry Signal 1: zigzag Use Zigzag: Ture/fasle // ture use as entry signal buy and sell Ext Depth :60 Ext Deviation:5 ExtBackstep:3 //================================== Entry Signal 2 ================================= Entry Signal 2: Moving Avarge // entry signal use in buy and sell USe Moving Avg : Ture/fasle // if ture Fast MA: 5 // SMA period MA mode: 0 // 0= SMA,1=EMA ,2=LMA 3= WMA Slow MA :45 // EMA period Ma mode :1 // 0= SMA,1=EMA ,2=LMA 3= WMA //================================== Entry Signal 3 ================================= Entry Signal 3: RSI Entry Type : in/out // Use Rsi : ture/false Pirod : 7 buy level : 80 sell level :20 //================================== Entry Signal 4 ================================= Entry Signal 4: Stochstic Use Stoch : ture/false K_Pirod : 30 D_Pirod : 3 Slow_Pirod : 3 buy sell type: above/below buy level : 10 sell level :90 //================================== Trend Filter managment ================================= bool Use_MA_Filter = false; if use this ture u can trade only trend ENUM_TIMEFRAMES MA_TF1 = PERIOD_H4; bool Use_MA_Filter = false; ENUM_TIMEFRAMES MA_TF2 = PERIOD_D1; bool Use_MA_Filter = false; ENUM_TIMEFRAMES MA_TF3 = PERIOD_W; int Period_MA = 21; ENUM_MA_METHOD MA_Method = MODE_EMA; ENUM_APPLIED_PRICE Applied_Price = PRICE_CLOSE; //================================== Time Trading Managment ================================= Trading time type : all // Trading Time Tokoy/London/newYork //================================== Open Order Max limit Managament ================================= USe max order : ture/fasle max order Buy :30 max order Sell :30 //================================== EA Comment Management ================================= EA commet : EA name+ TF trade +order Number // exmaple ea name "Zerotoheroscalper @ M5 -01" //================================== End ================================= //================================== EA ENTRY logic in 4 indicator ================================= 1. zigzag : 60/03/03 buy Entry : in zigzag low swing Below candle open buy Sell Entry : in zigzag High swing Above candle open Sell 2. Moving average : SMA=5 EMA= 45: buy Entry : in 5-SMA cross The 45-EMA upside than close the candle above the crossing both MA open buy Sell Entry : in 5-SMA cross The 45-EMA Downside than close the candle Below the crossing Both MA open buy 3. RSI : 7 buy Entry Above Level : RSI 7 Pirod cross the level 10 in down to up side ( order type : in) open buy Sell Entry Below Level : RSI 7 Pirod cross the level 90 in down to Down side ( order type : in) open Sell buy Entry Above Level : RSI 7 Pirod cross the level 10 in down to up side ( order type : out) open buy Sell Entry Below Level : RSI 7 Pirod cross the level 90 in down to Down side ( order type : Out) open Sell 4. Stoch :30/03/03 buy Entry Above Level : Stoch Pirod cross the level 10 in down to up side main & signal line open buy Sell Entry Below Level : Stoch Pirod cross the level 90 in down to Down side main & signal line open Sell //================================== End =================================