logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
jjstein  
#21 Posted : 19 years ago
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
I'm trying to post some MS formula code, but it's not displaying right...
wabbit  
#22 Posted : 19 years ago
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Code without equality indicators can just be posted as text...

otherwise, put your code between * code* and */ code* tags (without any spaces....)

Code:
TEST




wabbit [:D]
StorkBite  
#23 Posted : 19 years ago
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
What broswer are you using? Are you posting it in Design mode or HTML mode?
jjstein  
#24 Posted : 19 years ago
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)

Using IE 6, WinXP, with all SP's and critical updates. Mode: Whatever the default mode is. Don't know how to post in a specific mode; there doesn't seem to be an option for it. I'll see if a "mode" shows up when I "edit" the post. NOPE, don't see any mode. Tell me where it is, and I'll try it.

Code:
 Periods:=Input("Periods",10,500,250); buy:=If(Cross(C,Mov(C,Periods,E)),1,0); sell:=If(Cross(Mov(C,Periods,E),C),1,0); init:=Cum(buy+sell>-1)=1; Bull:=BarsSince(Init OR Buy)> BarsSince(Init OR Sell); Bear:=BarsSince(Init OR Buy)< BarsSince(Init OR Sell); If(Bull,-1,If(Bear,1,0)); 

OK, I've switch the editor back to "Rich text", let's try again:

Code:
Periods:=Input("Periods",10,500,250);
buy:=If(Cross(C,Mov(C,Periods,E)),1,0);
sell:=If(Cross(Mov(C,Periods,E),C),1,0);
init:=Cum(buy+sell>-1)=1;
Bull:=BarsSince(Init OR Buy)>
 BarsSince(Init OR Sell);
Bear:=BarsSince(Init OR Buy)<
 BarsSince(Init OR Sell);
If(Bull,-1,If(Bear,1,0));
jjstein  
#25 Posted : 19 years ago
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)

OK, using * code* and * /code* seems to have worked.

IMPORTANT NOTE TO PASS ON: These codes do NOT work with the "Text Editor". I switched 'cause the "Rich Editor" really loads S-L-O-W-L-Y (and I'm on fast DSL).

The "mode' is the default - "Design."

jjstein  
#26 Posted : 19 years ago
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
Uh, FWIW, there really oughta be an easier way for forum users to post code -- like the little "notes" window with the "Text Editor."
Users browsing this topic
Guest (Hidden)
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

information You have 1 unread message(s) in your Inbox.