TRO TRADING VIDEOS

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 14122
Joined: Sun May 14, 2006 9:31 pm
Reputation: 2292
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: TRO TRADING VIDEOS

Postby TheRumpledOne » Sat Jul 25, 2020 2:04 pm

pablo101 wrote:
TheRumpledOne wrote:
pablo101 wrote:
Not ea but a script but thanks anyway.


I code indicators. I don't code EAs. I haven't coded a script in over a decade if memory serves me correctly.


Thank Avery.

I always think you were a prolific coder and scalper and thought you could handle it all :D


Don't and Can't are not the same. Just because I don't doesn't mean I can't.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 14122
Joined: Sun May 14, 2006 9:31 pm
Reputation: 2292
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: TRO TRADING VIDEOS

Postby TheRumpledOne » Sat Jul 25, 2020 2:05 pm

LeMercenaire wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


Someone over in the tech section in "The Other Place" will be able to do that for you easily enough, if nobody here has the time/inclination.


Or you can ask on mql5.com.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

aliassmith
rank: 1000+ posts
rank: 1000+ posts
Posts: 2349
Joined: Tue Jul 28, 2009 9:50 pm
Reputation: 714
Gender: Male

Re: TRO TRADING VIDEOS

Postby aliassmith » Sat Jul 25, 2020 10:48 pm

pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.
Trade Your Way as Long as It Makes Money!

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 14122
Joined: Sun May 14, 2006 9:31 pm
Reputation: 2292
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: TRO TRADING VIDEOS

Postby TheRumpledOne » Sun Jul 26, 2020 3:08 am

aliassmith wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.



Or you could use an input:

Code: Select all


extern double BE_Offset = 10.0 ;

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+BE_Offset *Point(),OrderTakeProfit(),0,Green);

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-BE_Offset *Point(),OrderTakeProfit(),0,Red);


That way you don't have to change the code if you want to use a value other than 10.0.

END OF CODING LESSON.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

aliassmith
rank: 1000+ posts
rank: 1000+ posts
Posts: 2349
Joined: Tue Jul 28, 2009 9:50 pm
Reputation: 714
Gender: Male

Re: TRO TRADING VIDEOS

Postby aliassmith » Sun Jul 26, 2020 3:27 am

TheRumpledOne wrote:
aliassmith wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.



Or you could use an input:

Code: Select all


extern double BE_Offset = 10.0 ;

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+BE_Offset *Point(),OrderTakeProfit(),0,Green);

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-BE_Offset *Point(),OrderTakeProfit(),0,Red);


That way you don't have to change the code if you want to use a value other than 10.0.

END OF CODING LESSON.


I understand what you mean but I wouldn't want an input window to pop up when using it. In an EA I would want that option.

Thanks for the help
Trade Your Way as Long as It Makes Money!

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
pablo101
rank: 500+ posts
rank: 500+ posts
Posts: 873
Joined: Tue Jun 30, 2009 3:10 pm
Reputation: 13
Real name: Pete
Gender: None specified

Re: TRO TRADING VIDEOS

Postby pablo101 » Sun Jul 26, 2020 6:23 am

aliassmith wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.


Hi Alias, how are you doing? MY main trading system is based off your ideas, still. Build up position on long term charts, use Mo's space, and use other people's money in four steps to exit. It was the only thing i understood from all of MO's stuff lol.

Thanks for that and thanks for this. Let's see what happens on Monday.
Last edited by pablo101 on Sun Jul 26, 2020 6:28 am, edited 2 times in total.
WAS A YALE STUDENT. Now? Let's see!

User avatar
pablo101
rank: 500+ posts
rank: 500+ posts
Posts: 873
Joined: Tue Jun 30, 2009 3:10 pm
Reputation: 13
Real name: Pete
Gender: None specified

Re: TRO TRADING VIDEOS

Postby pablo101 » Sun Jul 26, 2020 6:25 am

TheRumpledOne wrote:
aliassmith wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.



Or you could use an input:

Code: Select all


extern double BE_Offset = 10.0 ;

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+BE_Offset *Point(),OrderTakeProfit(),0,Green);

OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-BE_Offset *Point(),OrderTakeProfit(),0,Red);


That way you don't have to change the code if you want to use a value other than 10.0.

END OF CODING LESSON.


Thanks TRO, I found a solution.

And it will never be an end to your lessons. God bless!
WAS A YALE STUDENT. Now? Let's see!

User avatar
LeMercenaire
rank: 1000+ posts
rank: 1000+ posts
Posts: 2739
Joined: Tue Sep 27, 2016 12:11 am
Reputation: 2021
Gender: None specified

Re: TRO TRADING VIDEOS

Postby LeMercenaire » Sun Jul 26, 2020 3:52 pm

TheRumpledOne wrote:
LeMercenaire wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


Someone over in the tech section in "The Other Place" will be able to do that for you easily enough, if nobody here has the time/inclination.


Or you can ask on mql5.com.


I was just about to add that! Cheers.

aliassmith
rank: 1000+ posts
rank: 1000+ posts
Posts: 2349
Joined: Tue Jul 28, 2009 9:50 pm
Reputation: 714
Gender: Male

Re: TRO TRADING VIDEOS

Postby aliassmith » Sun Jul 26, 2020 7:18 pm

pablo101 wrote:
aliassmith wrote:
pablo101 wrote:Tro, if possible, can you help me add BE +1 to this Break Even Script please?


I am not an advanced programmer but I'm looking at it.
I believe if the line is changed to this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+10*Point(),OrderTakeProfit(),0,Green);

and this:
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-10*Point(),OrderTakeProfit(),0,Red);
but the market is closed so I'll test it later.


Hi Alias, how are you doing? MY main trading system is based off your ideas, still. Build up position on long term charts, use Mo's space, and use other people's money in four steps to exit. It was the only thing i understood from all of MO's stuff lol.

Thanks for that and thanks for this. Let's see what happens on Monday.


I hope its working out for you. Those concepts can be powerful.
Trade Your Way as Long as It Makes Money!

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 14122
Joined: Sun May 14, 2006 9:31 pm
Reputation: 2292
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: TRO TRADING VIDEOS

Postby TheRumpledOne » Sun Jul 26, 2020 11:49 pm

IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”