I have being running Tradestation for 2 months now and manually monitoring VWAP & MACCI levels on charts.
I am in the process of including RADAR SCREEN on Tradestation.
These are the following code i have for the VWAP & MACCI.
VWAP
[LegacyColorValue = true];
inputs:
UpColor(Blue),
DownColor(Red);
vars:
Answer(0),
U_MPD (0),
L_MPD (0);
Answer = VWAP_H;
U_MPD = VWAP_H + ((highD(0)-lowD(0))/2);
L_MPD = VWAP_H - ((highD(0)-lowD(0))/2);
if AvgPrice >= Answer then
SetPlotColor(1,DownColor)
else
SetPlotColor(1,UpColor);
Plot1(Answer,"VWAP");
Plot2 (U_MPD,"Upper");
Plot3 (L_MPD,"Lower");
MACCI
[LegacyColorValue = true];
{
Data1 - Stock
}
Inputs:Length1(6), Length2(5);
Vars:CCIval(0),CCIavg(0);
CCIval = CCI(Length1);
CCIavg = average(CCIval, Length2);
plot1(CCIavg , "MACCI ");
What i require assistance with is using these's code in RADAR SCREEN.
1) will they work in radar screen? or are they going to have to be changed ?
2) looking at post from other people, they have their code set to highlight "buy" or "sell" with different colours, what sort of extra codeing will that require? I believe i am presuming rightly that i will have to set my own condition about what i consider to be a buy or a sell
My abilities with Trade station are limited at the moment, any help would be greatly appreciated.
I am in the process of including RADAR SCREEN on Tradestation.
These are the following code i have for the VWAP & MACCI.
VWAP
[LegacyColorValue = true];
inputs:
UpColor(Blue),
DownColor(Red);
vars:
Answer(0),
U_MPD (0),
L_MPD (0);
Answer = VWAP_H;
U_MPD = VWAP_H + ((highD(0)-lowD(0))/2);
L_MPD = VWAP_H - ((highD(0)-lowD(0))/2);
if AvgPrice >= Answer then
SetPlotColor(1,DownColor)
else
SetPlotColor(1,UpColor);
Plot1(Answer,"VWAP");
Plot2 (U_MPD,"Upper");
Plot3 (L_MPD,"Lower");
MACCI
[LegacyColorValue = true];
{
Data1 - Stock
}
Inputs:Length1(6), Length2(5);
Vars:CCIval(0),CCIavg(0);
CCIval = CCI(Length1);
CCIavg = average(CCIval, Length2);
plot1(CCIavg , "MACCI ");
What i require assistance with is using these's code in RADAR SCREEN.
1) will they work in radar screen? or are they going to have to be changed ?
2) looking at post from other people, they have their code set to highlight "buy" or "sell" with different colours, what sort of extra codeing will that require? I believe i am presuming rightly that i will have to set my own condition about what i consider to be a buy or a sell
My abilities with Trade station are limited at the moment, any help would be greatly appreciated.