Specification
I need a moving average indicator that gives off the following below signal readings: indicator will be called HGI_v10.00 the settings below are from GBPUSD 5 min
BELOW IS THE SELL SIGNAL READINGS THERE IS A TOTAL OF THIRTY. THE BUY SIGNALS WILL BE THE EXACT OPPOSITE. TO BE PROVIDED INDUE COURSE
MA1440AX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,0);
MA1440BX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,1);
MA1440CX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,2);
MA1440DX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,3);
MA1440EX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,4);
MA1440FX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,5);
MA1440GX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,6);
MA1440HX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,7);
MA1440IX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,8);
MA1440JX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,9);
MA1440KX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,10);
MA1440LX=iMA(NULL,0,1440,0,MODE_EMA,PRICE_CLOSE,11);
MA864AX=iMA(NULL,0,864,0,MODE_EMA,PRICE_CLOSE,0);
MA864BX=iMA(NULL,0,864,0,MODE_EMA,PRICE_CLOSE,1);
MA864CX=iMA(NULL,0,864,0,MODE_EMA,PRICE_CLOSE,2);
MA800AX=iMA(NULL,0,800,0,MODE_EMA,PRICE_CLOSE,0);
MA800CX=iMA(NULL,0,800,0,MODE_EMA,PRICE_CLOSE,2);
MA600AX=iMA(NULL,0,600,0,MODE_EMA,PRICE_CLOSE,0);
MA577AX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,0);
MA577CX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,2);
MA577DX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,3);
MA577EX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,4);
MA577FX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,5);
MA577GX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,6);
MA577HX=iMA(NULL,0,577,0,MODE_EMA,PRICE_CLOSE,7);
MA432AX=iMA(NULL,0,432,0,MODE_EMA,PRICE_CLOSE,0);
MA432BX=iMA(NULL,0,432,0,MODE_EMA,PRICE_CLOSE,1);
MA432CX=iMA(NULL,0,432,0,MODE_EMA,PRICE_CLOSE,2);
MA400AX=iMA(NULL,0,400,0,MODE_EMA,PRICE_CLOSE,0);
MA400BX=iMA(NULL,0,400,0,MODE_EMA,PRICE_CLOSE,1);
MA400CX=iMA(NULL,0,400,0,MODE_EMA,PRICE_CLOSE,2);
MA300AX=iMA(NULL,0,300,0,MODE_EMA,PRICE_CLOSE,0);
MA300BX=iMA(NULL,0,300,0,MODE_EMA,PRICE_CLOSE,1);
MA300CX=iMA(NULL,0,300,0,MODE_EMA,PRICE_CLOSE,2);
MA288AX=iMA(NULL,0,288,0,MODE_EMA,PRICE_CLOSE,0);
MA288BX=iMA(NULL,0,288,0,MODE_EMA,PRICE_CLOSE,1);
MA288CX=iMA(NULL,0,288,0,MODE_EMA,PRICE_CLOSE,2);
MA216AX=iMA(NULL,0,216,0,MODE_EMA,PRICE_CLOSE,0);
MA216BX=iMA(NULL,0,216,0,MODE_EMA,PRICE_CLOSE,1);
MA216CX=iMA(NULL,0,216,0,MODE_EMA,PRICE_CLOSE,2);
MA200A=iMA(NULL,0,200,0,MODE_SMA,PRICE_CLOSE,0);
MA200B=iMA(NULL,0,200,0,MODE_SMA,PRICE_CLOSE,1);
MA200C=iMA(NULL,0,200,0,MODE_SMA,PRICE_CLOSE,2);
MA200AX=iMA(NULL,0,200,0,MODE_EMA,PRICE_CLOSE,0);
MA200BX=iMA(NULL,0,200,0,MODE_EMA,PRICE_CLOSE,1);
MA200CX=iMA(NULL,0,200,0,MODE_EMA,PRICE_CLOSE,2);
MA144AX=iMA(NULL,0,144,0,MODE_EMA,PRICE_CLOSE,0);
MA144BX=iMA(NULL,0,144,0,MODE_EMA,PRICE_CLOSE,1);
MA144CX=iMA(NULL,0,144,0,MODE_EMA,PRICE_CLOSE,2);
MA132AX=iMA(NULL,0,132,0,MODE_EMA,PRICE_CLOSE,0);
MA132BX=iMA(NULL,0,132,0,MODE_EMA,PRICE_CLOSE,1);
MA132CX=iMA(NULL,0,132,0,MODE_EMA,PRICE_CLOSE,2);
MA120AX=iMA(NULL,0,120,0,MODE_EMA,PRICE_CLOSE,0);
MA132CX=iMA(NULL,0,120,0,MODE_EMA,PRICE_CLOSE,2);
MA108AX=iMA(NULL,0,108,0,MODE_EMA,PRICE_CLOSE,0);
MA100A=iMA(NULL,0,100,0,MODE_SMA,PRICE_CLOSE,0);
MA100D=iMA(NULL,0,100,0,MODE_SMA,PRICE_CLOSE,3);
MA100AX=iMA(NULL,0,100,0,MODE_EMA,PRICE_CLOSE,0);
MA72AX=iMA(NULL,0,72,0,MODE_EMA,PRICE_CLOSE,0);
MA72BX=iMA(NULL,0,72,0,MODE_EMA,PRICE_CLOSE,1);
MA72CX=iMA(NULL,0,72,0,MODE_EMA,PRICE_CLOSE,2);
MA52AX=iMA(NULL,0,52,0,MODE_EMA,PRICE_CLOSE,0);
MA52BX=iMA(NULL,0,52,0,MODE_EMA,PRICE_CLOSE,1);
MA52CX=iMA(NULL,0,52,0,MODE_EMA,PRICE_CLOSE,2);
MA48AX=iMA(NULL,0,48,0,MODE_EMA,PRICE_CLOSE,0);
MA48CX=iMA(NULL,0,48,0,MODE_EMA,PRICE_CLOSE,2);
MA36AX=iMA(NULL,0,36,0,MODE_EMA,PRICE_CLOSE,0);
MA36BX=iMA(NULL,0,36,0,MODE_EMA,PRICE_CLOSE,1);
MA36CX=iMA(NULL,0,36,0,MODE_EMA,PRICE_CLOSE,2);
MA24AX=iMA(NULL,0,24,0,MODE_EMA,PRICE_CLOSE,0);
MA24BX=iMA(NULL,0,24,0,MODE_EMA,PRICE_CLOSE,1);
MA24CX=iMA(NULL,0,24,0,MODE_EMA,PRICE_CLOSE,2);
MA18AX=iMA(NULL,0,18,0,MODE_EMA,PRICE_CLOSE,0);
MA18BX=iMA(NULL,0,18,0,MODE_EMA,PRICE_CLOSE,1);
MA18CX=iMA(NULL,0,18,0,MODE_EMA,PRICE_CLOSE,2);
MA12AX=iMA(NULL,0,12,0,MODE_EMA,PRICE_CLOSE,0);
MA12CX=iMA(NULL,0,12,0,MODE_EMA,PRICE_CLOSE,2);
MA9AX=iMA(NULL,0,9,0,MODE_EMA,PRICE_CLOSE,0);
MA9BX=iMA(NULL,0,9,0,MODE_EMA,PRICE_CLOSE,1);
MA9CX=iMA(NULL,0,9,0,MODE_EMA,PRICE_CLOSE,2);
MA6AX=iMA(NULL,0,6,0,MODE_EMA,PRICE_CLOSE,0);
MA6CX=iMA(NULL,0,6,0,MODE_EMA,PRICE_CLOSE,2);
MA5AX=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,0);
MA5BX=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,1);
MA5CX=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,2);;
MA4AX=iMA(NULL,0,4,0,MODE_EMA,PRICE_CLOSE,0);
MA4CX=iMA(NULL,0,4,0,MODE_EMA,PRICE_CLOSE,2);
MA3AX=iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,0);
MA3CX=iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,2);
MA1AX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,0);
MA1BX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,1);
MA1CX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,2);
MA1DX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,3);MA1EX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,4);
MA1FX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,5);
MA1GX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,6);
MA1HX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,7);
MA1IX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,8);
MA1JX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,9);
MA1KX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,10);
MA1LX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,11);
MA1MX=iMA(NULL,0,1,0,MODE_EMA,PRICE_CLOSE,12);
SELL siganal call it= S001
if(MA144AX>MA288AX)
if(MA216AX>(MA288AX+0.00018))
if(MA288AX>(MA432AX+0.00045))
if(MA432AX>(MA577AX+0.00050))
if(MA577AX>(MA864AX+0.00050))
if(MA864AX>(MA1440AX+0.00010))
if(MA9AX<MA18AX)
if(MA18AX<MA36AX)
if(MA36AX<MA72AX)
if(MA1AX<MA577AX)
//SELL siganal call it=S002
if(MA577AX>(MA864AX+0.0004))
if(MA864AX>(MA1440AX+0.0015))
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL 288/577/864/1440 S003
if(MA1440AX<MA864AX)
if(MA864AX<MA577AX)
if(MA577AX<MA288AX)
if(MA1BX<MA1440BX)
if(MA1440CX<MA1CX)
if(MA24AX>MA1AX)
//SELL siganal call it=S004
if(MA1440AX<MA577AX)
if(MA864AX<MA1440AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it= S005
if(MA1440AX>MA577AX)
if(MA864AX>MA1440AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it=S006
if(MA288AX<MA216AX)
if(MA216AX<MA432AX)
if(MA432AX<MA144AX)
if(MA144AX<MA577AX)
if(MA864AX<MA1440AX)
if(MA1AX<MA288AX)
if(MA577FX<MA1FX)
//SELL siganal call it=S007
if(MA864AX<MA577AX)
if(MA577AX<MA1440AX)
if(MA1440AX<MA216AX)
if(MA216AX<MA144AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it= S008
if(MA864AX<MA144AX)
if(MA577AX<MA864AX)
if(MA1440AX<MA577AX)
if(MA1440AX<MA216AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it=S009
if(MA1440AX>MA864AX)
if(MA864AX>MA577AX)
if(MA120AX>MA216AX)
if(MA144AX>MA216AX)
if(MA216AX>MA288AX)
if(MA288AX>MA432AX)
if(MA432AX>MA577AX)
if(MA120AX>MA1440AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it= S010
if(MA432AX>MA216AX)
if(MA577AX>MA216AX)
if(MA216AX>MA864AX)
if(MA144AX>MA864AX)
if(MA144AX<MA432AX)
if(MA144AX<MA577AX)
if(MA864AX>MA1440AX)
if(MA1440BX>MA1BX)
if(MA1440CX>MA1CX)
if(MA1DX>MA1440DX)
//SELL siganal call it= S011
if(MA144AX>MA216AX)
if(MA216AX>MA288AX)
if(MA288AX>MA1440AX)
if(MA1440AX>MA432AX)
if(MA432AX>MA577AX)
if(MA577AX>MA864AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it=S012
if(MA1440AX<MA864AX)
if(MA864AX<MA577AX)
if(MA1440AX<MA144AX)
if(MA144AX<MA216AX)
if(MA216AX<MA288AX)
if(MA288AX<MA432AX)
if(MA432AX<MA864AX)
if(MA72AX<MA36AX)
if(MA216AX<MA72AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it=S013
if(MA36AX<MA18AX)
if(MA72AX<MA36AX)
if(MA120AX<MA9AX)
if(MA144AX<MA120AX)
if(MA216AX<MA144AX)
if(MA288AX<MA216AX)
if(MA1440AX<MA288AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it=S014
if(MA36AX<MA18AX)
if(MA72AX<MA36AX)
if(MA120AX<MA9AX)
if(MA144AX<MA120AX)
if(MA216AX<MA144AX)
if(MA288AX<MA216AX)
if(MA72AX<MA1440AX)
if(MA1440AX<MA36AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it= S015
if(MA1440AX<MA864AX)
if(MA864AX<MA577AX)
if(MA577AX<MA288AX)
if(MA1BX<MA1440BX)
if(MA1440CX<MA1CX)
if(MA24AX>MA1AX)
//SELL siganal call it= S016
if(MA1200A>MA1440AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
if(MA18AX>MA9AX)
if(MA9AX>MA1AX)
//SELL siganal call it= S017
if(MA1440AX>MA1200A)
if(MA1200A>MA1AX)
if(MA1CX>MA1200C)
if(MA18AX>MA9AX)
if(MA9AX>MA1AX)
//SELL siganal call it= S018
if(MA144AX<MA288AX)
if(MA216AX<(MA288AX-0.00015))
if(MA288AX<(MA432AX-0.00040))
if(MA432AX<(MA577AX-0.00040))
if(MA577AX<(MA864AX-0.00050))
if(MA864AX<(MA1440AX-0.00010))
if(MA9AX>MA18AX)
if(MA18AX>MA36AX)
if(MA36AX>MA72AX)
if(MA1CX>MA577CX||MA1DX>MA577DX||MA1EX>MA577EX||MA1FX>MA577FX||MA1GX>MA577GX||MA1HX>MA577HX)
if(MA577AX>MA1AX)
if(MA6AX>MA1AX)
//SELL siganal call it= S019
if(MA144AX<MA577AX)
if(MA216AX<MA432AX)
if(MA288AX<(MA432AX-0.00040))
if(MA432AX<(MA577AX-0.00040))
if(MA577AX<(MA864AX-0.00050))
if(MA864AX<(MA1440AX-0.00010))
if(MA18AX>MA9AX)
if(MA36AX>MA72AX)
if(MA1CX>MA577CX||MA1DX>MA577DX||MA1EX>MA577EX||MA1FX>MA577FX||MA1GX>MA577GX||MA1HX>MA577HX)
if(MA577AX>MA1AX)
if(MA6AX>MA1AX)
if(MA72AX>MA1AX)
//SELL siganal call it= S020
if(MA577AX<(MA864AX-0.0004))
if(MA864AX<(MA1440AX-0.0015))
if(MA1AX<MA1440AX)
if(MA1AX<MA72AX)
if(MA1440CX<MA1CX||MA1440DX<MA1DX||MA1440EX<MA1EX||MA1440FX<MA1FX||MA1440FX<MA1GX||MA1440FX<MA1HX)
//SELL 1440/864/577/288 S003 SH004
if(MA864AX<MA1440AX)
if(MA577AX<MA864AX)
if(MA288AX<(MA577AX+0.0000))
if(MA864AX<MA6AX)
if(MA36AX>MA1AX)
if(MA864AX>MA132AX)
if(MA1440AX>MA1AX)
if(MA1CX>(MA1440AX-0.0003)||MA1DX>(MA1440AX-0.0003)||MA1EX>(MA1440AX-0.0003)||MA1FX>(MA1440AX-0.0003)
||MA1GX>(MA1440AX-0.0003)||MA1HX>(MA1440AX-0.0003)||MA1IX>(MA1440AX-0.0003)||MA1JX>(MA1440AX-0.0003)
||MA1KX>(MA1440AX-0.0003)||MA1LX>(MA1440AX-0.0003)||MA1MX>(MA1440AX-0.0003))
//SELL siganal call it= S021
if(MA144AX<MA216AX)
if(MA216AX<MA288AX)
if(MA288AX<MA1440AX)
if(MA1440AX<MA432AX)
if(MA432AX<MA864AX)
if(MA864AX<MA577AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it= S022
if(MA144AX>MA216AX)
if(MA216AX>MA288AX)
if(MA288AX>MA1440AX)
if(MA1440AX>MA432AX)
if(MA432AX>MA864AX)
if(MA864AX>MA577AX)
if(MA1AX<MA1440AX)
if(MA1440CX<MA1CX)
//SELL siganal call it= S023
if(MA864AX>MA577AX)
if(MA577AX>MA1440AX)
if(MA1440AX>MA216AX)
if(MA216AX>MA144AX)
if(MA1DX>MA1440DX||MA1EX>MA1440EX||MA1FX>MA1440FX||MA1GX>MA1440GX||MA1HX>MA1440HX||MA1IX>MA1440IX||MA1JX>MA1440JX||MA1KX>MA1440KX||MA1LX>MA1440LX)
if(MA72AX>MA1AX)
if(MA72BX>MA1BX)
if(MA72CX>MA1CX)
//SELL siganal call it= S024
if(MA864AX>MA144AX)
if(MA577AX>MA864AX)
if(MA1440AX>MA577AX)
if(MA1440AX>MA216AX)
if(MA1AX<MA1440AX)
if(MA1AX<MA18AX)
if(MA1CX>MA1440CX||MA1DX>MA1440DX||MA1EX>MA1440EX||MA1FX>MA1440FX
||MA1GX>MA1440GX||MA1HX>MA1440HX||MA1IX>MA1440IX||MA1JX>MA1440JX||MA1KX>MA1440KX)
//SELL siganal call it= S025
if(MA1440AX<MA864AX)
if(MA864AX<MA577AX)
if(MA120AX<MA216AX)
if(MA144AX<MA216AX)
if(MA216AX<MA288AX)
if(MA288AX<MA432AX)
if(MA432AX<MA577AX)
if(MA120AX<MA1440AX)
if(MA1AX<MA24AX)
if(MA1AX<MA1440AX)
if(MA1CX>MA1440CX||MA1DX>MA1440DX||MA1EX>MA1440EX)
//SELL siganal call it= S026
if(MA432AX<MA216AX)
if(MA577AX<MA216AX)
if(MA216AX<MA864AX)
if(MA144AX<MA864AX)
if(MA144AX>MA432AX)
if(MA144AX>MA577AX)
if(MA864AX<MA1440AX)
if(MA1BX<MA1440BX)
if(MA1440CX<MA1CX)
if(MA1440DX<MA1DX)
//SELL siganal call it= S027
if(MA144AX<MA216AX)
if(MA216AX<MA288AX)
if(MA288AX<MA1440AX)
if(MA1440AX<MA432AX)
if(MA432AX<MA577AX)
if(MA577AX<MA864AX)
if(MA1AX<MA1440AX)
if(MA1AX<MA36AX)
if(MA1BX<MA1440BX)
if(MA1CX<MA1440CX)
if(MA1440DX<MA1DX||MA1440EX<MA1EX)
//SELL siganal call it= S028
if(MA36AX>MA18AX)
if(MA72AX>MA36AX)
if(MA120AX>MA9AX)
if(MA144AX>MA120AX)
if(MA216AX>MA144AX)
if(MA288AX>MA216AX)
if(MA1440AX>MA288AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it= S029
if(MA36AX>MA18AX)
if(MA72AX>MA36AX)
if(MA120AX>MA9AX)
if(MA144AX>MA120AX)
if(MA216AX>MA144AX)
if(MA288AX>MA216AX)
if(MA72AX>MA1440AX)
if(MA1440AX>MA36AX)
if(MA1440AX>MA1AX)
if(MA1CX>MA1440CX)
//SELL siganal call it= S030
if(MA864AX<MA1440AX)
if(MA577AX<MA864AX)
if(MA288AX<(MA577AX+0.0000))
if(MA864AX<MA6AX)
if(MA36AX>MA1AX)
if(MA864AX>MA132AX)
if(MA1440AX>MA1AX)
if(MA1CX>(MA1440AX-0.0003)||MA1DX>(MA1440AX-0.0003)||MA1EX>(MA1440AX-0.0003)||MA1FX>(MA1440AX-0.0003)
||MA1GX>(MA1440AX-0.0003)||MA1HX>(MA1440AX-0.0003)||MA1IX>(MA1440AX-0.0003)||MA1JX>(MA1440AX-0.0003)
||MA1KX>(MA1440AX-0.0003)||MA1LX>(MA1440AX-0.0003)||MA1MX>(MA1440AX-0.0003))