Rectify for result as Percentage

#1
Can someone put the code for exploration of "Ema_volum" as percentage

Thanks




_SECTION_BEGIN("emacrossover 1");
P = ParamField("Price field",5);

Periods = IIf( Interval() == inDaily, 20, IIf( Interval() == inWeekly, 10, 3 ) );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );

EMA_Volume = EMA(P,Periods);


Title = Name() + " : Volume = " + WriteVal( V,10 ) + ", EMA(Volume," + WriteVal( Periods,format=2.0 ) + ") = " +

WriteVal(EMA_Volume,format=10.0) + ", Volume to EMA = " + WriteVal((((EMA_Volume-V)/(EMA_Volume)*100)*-1)+100,format=4,0) + "%";

_SECTION_END();



Filter = EMA_Volume-V/(EMA_Volume)*100*-1+100;

AddColumn(EMA_Volume, " EMA_Volume" );
AddColumn(Close,"Close",1.2);
 

Similar threads

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?