View Single Post
  #67 (permalink)  
Old 09-24-2009, 12:00 PM
raghav.sshetty raghav.sshetty is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
raghav.sshetty is on a distinguished road
Expert Advisor for scalping.

Hi,
I am trying to write an EA for scalping. in the below variables can anyone please let me know the the intigers assinged to StopLoss, TakeProfit, and TrailingStop are the number of pips or any other intigers which MT4 will convert into pip counts.

I also need a statement to define the chart to be used is a 5 mins chart.

I am planing to use Stochastics on 5 mins chart for signaling scalping trades. with 2 - 5 pips of profit. Please let me know if any one has a better strategy for scalping that can be used for writing an EA.

extern int mm=1;
extern int reinv=10;
extern int MagicNumber = 0;
extern double Lots = 0.1;
extern int Slippage = 3;
extern bool UseStopLoss = True;
extern int StopLoss = 200;
extern bool UseTakeProfit = True;
extern int TakeProfit = 600;
extern bool UseTrailingStop = False;
extern int TrailingStop = 30;
extern int maxLots=50;

Appriciate your help in advance.

Thanks
Raghav
Reply With Quote