rortiz77
2010.01.08 23:02
Does
anyone know the code to say, "if Stochastic main>signal --> get
current price and put it in a variable" For example...something like,
int take_profit;
int ticket;
if( stochastic_blue > stochastic_red )
{
take_profit = MathRound(Close[0]);
......
......
ticket=OrderSend(Symbol(),OP_SELL,Lot,Bid,3,0,Ask-(take_profit*Point),0,111,0,Red);
}
Best Regards!
dopala44
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Does anyone know the code to say, "if Stochastic main>signal --> get current price and put it in a variable" For example...something like,
double take_profit;
if( stochastic_blue > stochastic_red )
{take_prifit = current price}
....so that I can use this variable called "take_profit" in my ordersend.
Thanks,
-Ron